How to Determine Java Version
Multiple copies of Java can be installed on a single computer, and, if you have more than one browser, every one of them could be using a different version or none at all. You can determine your Java version by verifying it on the Java...
Method 1 of 4:
Verifying Online
-
How to Determine Java Version Picture 1
Open a new window in your web browser and click here to navigate to Java's website. Oracle, the makers of Java, have provided an easy page that will check your Java installation and report the exact version you're running. This can be done from any operating system. -
How to Determine Java Version Picture 2
Click the "Verify Java Version" button to get started. -
How to Determine Java Version Picture 3
If prompted by your browser's security program, allow Java to confirm your version. -
How to Determine Java Version Picture 4
After a few seconds, check the results! This will include the Version number as well as the Update number. The version number is most important if you're checking for compatibility with other programs.
Method 2 of 4:
Windows
- Hold down ⊞ Win and press R. This should bring up a small window.
How to Determine Java Version Picture 5
- Type cmd into the box and the press OK.
How to Determine Java Version Picture 6
-
How to Determine Java Version Picture 7
Wait for a black window with white text to appear on your screen. This is called a "console window." -
How to Determine Java Version Picture 8
Type java -version in the console window and press ↵ Enter. -
How to Determine Java Version Picture 9
See what version you have. If Java is installed on your computer, the output will be listed in the console.- You can tell what version of Java you have by looking at the number after the "1." in the first line of the console output. In this example, the user has Java 8 installed.
How to Determine Java Version Picture 10
- If Java is not installed on your computer, the output will contain an error message similar to this one :'java' is not recognized as an internal or external command, operable program or batch file.
How to Determine Java Version Picture 11
- You can tell what version of Java you have by looking at the number after the "1." in the first line of the console output. In this example, the user has Java 8 installed.
Method 3 of 4:
Mac OSX
-
How to Determine Java Version Picture 12
Open the Hard Drive, located on the Desktop OR you may click finder menu to open Applications. -
How to Determine Java Version Picture 13
With the Hard Drive open, go into Applications, then into Utilities. -
How to Determine Java Version Picture 14
With Utilities open, open the Terminal and type in "java -version", then retrieve the current java version
Method 4 of 4:
Linux
-
How to Determine Java Version Picture 15
Start a terminal window with the terminal window open type in "java -version"- This should return something like Java(TM) 2 Runtime Environment, Standard Edition (build 1.6) If it returns
-bash: java: command not found
This means that either it is not installed or you haven't set up your paths properly
- This should return something like Java(TM) 2 Runtime Environment, Standard Edition (build 1.6) If it returns
-
How to Determine Java Version Picture 16
Use this freely available Internet tester provided by Java [1]and click the test java version button. Go to Verify Java and Find Out-of-Date Versions.[2]- With Firefox 3 go to Tools Add-ons button and go to the Plug-ins tab.
- With Firefox 2 or 3: In Firefox versions 2 and 3, enter in the address bar: about:plugins. If Java is installed there will be multiple Java entries.
- With Internet Explorer 7 or 8 go to Tools select Internet Options in the General tab click on the Browsing History Settings button and select the View Objects button right click on an ActiveX control and get its properties. Each ActiveX control has a "code base" and for each of the Java entries it will display the version number.
5 ★ | 1 Vote
You should read it
- What is JAVA file? How to open, edit and convert JAVA files
- How to Update Java
- Oracle wants to turn Java EE into fully open source
- Instructions on how to run / open Java files (.jar)
- How to Install JDK in Linux
- How to Install Java on Linux
- How to Check Java Version on a Mac
- How to Fix Java
- What is Java? Why choose Java?
- How to Close a Window in Java
- How to check the Java version on Windows and macOS
- How to Check Java Version on Mac