Tuesday, December 17, 2013

Java Configuration on Windows Machine

For a regular user, all you need is JRE (Java Virtual Machine) to execute Java Application that is already compiled. To install this JRE, when you download the installer from Oracle website. This JRE is used by Windows system and the default browser (i.e. Internet Browser).

For a developer, you would need to java compiler (javac), a.k.a JDK. Recently, Oracle bundles it with application server Glassfish called SDK.

To created environment variable JAVE_HOME
Add JAVA_HOME into variable PATH

Start > cmd >
java -version
javac -version

This java version may be different with java version used by the default browser and java control panel in Windows control panel.

No comments:

Post a Comment