ERROR 'Could not find javaw.exe in PATH'

How can I troubleshoot this error?

The error: enter image description here

Could not find javaw.exe in PATH

1 Answer

You should add the path in which javaw.exe is located to the PATH environment variable.

To do so go to This PC > Properties > Advanced system settings > Enviroment Variables. Find the variable "Path" in the list with system variables and choose edit. Click on new and add the path where javavw.exe is located. The default path for the 32 bit version is something like this depending on the version:

C:\Program Files (x86)\Java\jre1.8.0_211\bin

Using the symbolic link javapath is better because it won't break the path variable after each Java update. The path to the symbolic link:

C:\Program Files (x86)\Common Files\Oracle\Java\javapath

It could be different for you if you use 64 bit Java but it is most likely that you run a 32 bit version of Java because this is the default even on a 64 bit machine.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like