To check what is your java version that installed in your computer or check if java correctly install in your computer you can do this following step.
NB: Assume that your java is installed in (C:\Program Files\Java\jdk1.8.0_45)
Go to Control Panel > System > Advanced system settings > Environment Variables
In the System variables, search for variable name "JAVA_HOME" and make sure the value is your java installed location (C:\Program Files\Java\jdk1.8.0_45)
NB: If "JAVA_HOME" variable doesn't exist create it from New button
Still in system variables, search for variable name "Path" and make sure your java location (C:\Program Files\Java\jdk1.8.0_45\bin) is contain in the value.
NB: don't disturb other value just add it if your java location is not found!! or else your other program might fail to load.
Open command prompt and then type "java -version" (without quotation mark)
Now try it yourself, Good Luck!!
0 comments:
Post a Comment