set java home mkyong code example
Example: setting java home
1. Add a JAVA_HOME variable equal to something like: C:\Java\JDK1.7.0_25_x64
2. Add %JAVA_HOME%\bin to the beginning of your PATH variable.
1. Add a JAVA_HOME variable equal to something like: C:\Java\JDK1.7.0_25_x64
2. Add %JAVA_HOME%\bin to the beginning of your PATH variable.