Test that Java is Installed

To test that Java is installed on your computer, you can try the following link: http://www.java.com/en/download/installed.jsp

- OR -

By typing the following command on your computer's command line:
$ java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)

You should see the currently installed version of Java on your computer. If you do not see the version of Java installed, then Java may not be installed on your computer. You will need to go to http://www.java.com/ to download and install Java on your computer.

If you have Java installed and do not see the version of Java installed, you you may need to update your PATH variable. Look at this page for more information on setting the PATH for your operating system.

Accessing the Command Line

Accessing the command line is different for different operating systems:

Windows Vista and 7
  1. Click Start
  2. Type cmd and press enter
Windows NT, 2000, and XP
  1. Click Start
  2. Click Run
  3. Type cmd and press enter
Mac OS X
  1. Open the finder
  2. Open Utilities
  3. Double-click Terminal
Linux
  1. Open Terminal
 
Contact: Aaron Petkau, Eric Marinier, Matthew Stuart-Edwards at gview@phac-aspc.gc.ca