helloopensource

 

jdkInstalledProperly

Page history last edited by paulocaroli@... 2 yrs ago
 

Make sure JDK 1.5 or 1.6 is properly installed

 This Tutorial will show you how to verify if JDK is properly installed in your computer. 
 

Versions used:

  • OS: Windows XP V1.6
  • JDK version 1.5.0_12

 

Tutorial Steps:

  1. Open a Console Window
    1. Go to Start Menu/ Run
  2. Type cmd and click on OK
  3. Execute echo %JAVA_HOME% command followed by  java –version command.
    • If the response does not show the JAVA_HOME path or depicts an error message, Java is not properly installed and you should install the JDK.
    • Following is an example of a console window result for a proper JDK installation.
    • Note that the JAVA_HOME Environment Variable value is C:\Java\jdk1.5.0_12, the JDK root folder
    • Note that the java -version command result is version 1.5.0_12 (JAVA_HOME and java -version show the same JDK version).

 

The following Console Windows identifies a JDK installation problem. You should install the JDK.

  • JAVA_HOME Environment Varialbe is not defined

 

  • java is not recognized as a command

 

Comments (0)

You don't have permission to comment on this page.