Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8998255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:59:58+00:00 2026-06-15T23:59:58+00:00

I want to find the version number of the current version of Java installed

  • 0

I want to find the version number of the current version of Java installed on the computer and the current version of Flash installed on any given web browser that has flash. Is there a way to do this using Java, C, or C++? If so, what class/library should I look into?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:59:58+00:00Added an answer on June 15, 2026 at 11:59 pm

    If you are in Java

        System.out.println(System.getProperty("java.version"));
        System.out.println(System.getProperty("java.vendor"));
        System.out.println(System.getProperty("java.vm.name"));
    

    output

    1.7.0_03
    Oracle Corporation
    Java HotSpot(TM) Client VM
    

    there are more props about Java

        for(Map.Entry e  : System.getProperties().entrySet()) {
            if (((String)e.getKey()).startsWith("java")) {
                System.out.println(e);
            }
        }
    

    .

    java.runtime.name=Java(TM) SE Runtime Environment
    java.vm.version=22.1-b02
    java.vm.vendor=Oracle Corporation
    java.vendor.url=http://java.oracle.com/
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.runtime.version=1.7.0_03-b05
    ....
    

    As for other languages I think you can do it by running %JAVA_HOME%/java -version from your app, reading the output

    java version "1.7.0_03"
    Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
    Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
    

    Or you can right a JavaProps app like the above, run it as %JAVA_HOME%/java JavaProps and read the output

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to read the registry to find the current PowerPoint version. However this
I want to find the first element that has appeared in previous positions in
I want to find replace Version number from a string by using Regex in
I want find all Saturdays and Sundays in A given month. How can I
I want to find out if it is possible to create Android API's that
Possible Duplicate: Find Mac OS X version number in objective c My application needs
I want to find a specific week number from the specific start date. For
Actually, given N a (possibly very large) even integer, I want to find N
Question We have a large number of xml configuration files that we want merged
I want to find a struct in a vector, but I'm having some troubles.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.