Steps:
i. Install the JDK in the Machine
ii. Set the path of JDK to JAVA_HOME
iii. Set JAVA_HOME=”address of the folder wherein ‘bin’ folder exists”
iv. Check whether it has been created in Environment Variables. Or, you should manually enter path
for the JAVA_HOME on that.
v. Check this by the command
echo %JAVA_HOME%
vi Check whether the JAVA is configured by the command.
%JAVA_HOME%\bin\java –version
%JAVA_HOME%\bin\java –jar <executable jar file>
[Note:]
Run the command prompt with administrative privileges.
No comments:
Post a Comment