Forum Discussion
Hi @First,
Apologies for the delay in response, to check your java version in the environment you may refer to the steps here which I think it should help.
Once confirming the version and to get the correct version, the oracle website should be help.
Please do let us know if that helps.
Best Wishes
BB
- First4 years ago
New Contributor
Hey. I tried following the instructions on the first link you sent. However, my terminal returns:
'javac' is not recognized as an internal or external command, operable program or batch file.when I enter javac -version. java is also not recognized as a command, program or batch file. Is there some other means I could use to figure out if my environment is installed with Java SE version 1.8.71 or later?
Many thanks in advance!- fostercarly4 years ago
New Contributor
'javac' is not recognized as an internal or external command, operable program or batch file.
Windows OS searches the current directory and the directories listed in the PATH environment variable for executable programs. JDK's programs (such as Java compiler javac.exe and Java runtime java.exe) reside in directory "\bin" (where denotes the JDK installed directory, e.g., C:\Program Files\Java\jdk1.8.0_xx). You need to include the "\bin" directory in the Java Path.
- First make sure you have installed jdk and jre, both are installed with the java software development kit. The installation folder is typically C:\Program Files\Java.
- Now go to Computer > Properties > Advanced system settings in the advanced tab click on Environment Variables
- In System variables find the variable named Path, in the value of Path you will find a java path like C:\ProgramData\Oracle\Java\javapath, just change it to C:\Program Files\Java\jdk1.x.x_x\bin.