Java.com

Download Help

Printable Version

How can I find which version of Java is installed without running an applet in Windows or Mac?


This article applies to:
  • Platform(s): Macintosh OS X, Windows 7, Windows 8, Windows XP
  • Java version(s): 7.0

The Java version can be found:

Use any of these options if you are having trouble running applets to confirm that you have a specific Java version.


Java Version under Windows Start Menu - Java 7 Update 40 (7u40) and later versions

Starting with Java 7 Update 40, you can find the Java version through the Windows Start menu.
  1. Launch the Windows Start menu
  2. Click on Programs
  3. Find the Java program listing
  4. Click About Java to see the Java version

Java Version in the Java Control Panel - Windows and Mac OS X

The Java version can be found in the Java Control Panel.

  1. Find the Java Control Panel in Windows
    Find the Java Control Panel in Mac OS X
  2. Under the General tab in the Java Control Panel, the version is available through the About section. A dialog appears (after clicking About) showing the Java version.
Java version listed in the About Java dialog of the Java Control Panel


Java Version in Windows Programs

The latest version(s) of Java on your system will be listed as Java 7 with an associated Update number (eg. Java 7 Update 21). Older versions may be listed as Java(TM), Java Runtime Environment, Java SE, J2SE or Java 2.

Windows 8
  1. Right-click on the screen at bottom-left corner and choose the Control Panel from the pop-up menu.
  2. When the Control Panel appears, select Programs
  3. Click Programs and Features
  4. The installed Java version(s) are listed.
Windows 7 and Vista
  1. Click Start
  2. Select Control Panel
  3. Select Programs
  4. Click Programs and Features
  5. The installed Java version(s) are listed.
Windows XP
  1. Click Start
  2. Select Control Panel
  3. Click the Add/Remove Programs control panel icon
  4. The Add/Remove control panel displays a list of software on your system, including any Java versions that are on your computer.

MORE TECHNICAL INFORMATION

Using the Command-line to find Java Versions - Mac OS X

The Java Runtime (JRE) that you download from java.com or oracle.com contains a plugin to run Java content from your browser. In order to use the command line tools, you will need to download the Java Development Kit (JDK). The JRE and JDK are separate and can coexist on your system. Only one JRE can be installed on Mac OS X. There can be multiple JDKs installed on a system, as many as you wish.

JRE Version Command Line on Mac OS X

Type the following in a Terminal window:
/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version

Determining the Default Version of the JDK on Mac OS X

When launching a Java application through the command line, the system uses the default JDK. It is possible for the version of the JRE to be different than the version of the JDK.

You can determine which version of the JDK is the default by typing java -version in a Terminal window. If the installed version is 7u55, you will see a string that includes the text 1.7.0_55. For example:

java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)




Find expert help on Java installation and setup

Select Language | About Java | Support | Developers
Privacy | Terms of Use | Trademarks | Disclaimer

Oracle