0

I have been trying to fix my Java path variable. I keep getting "'javac' is not recognized as an internal or external command, operable program or batch file.". Is there any convenient software that fixes the path settings automatically?

Currently Path Variable is "C:\Program Files (x86)\Java\jre1.8.0_101\bin;PATH;%JAVA_HOME%\bin"

What do I do I have no clue? This is very frustrating. Please help.

  • 1
    Do you have the full JDK installed or just the JRE? I would expect the path to your javac binary to include jdk1.8.0_101 as opposed to jre1.8.0_101 like you currently have. – MikeA Oct 6 '16 at 20:22
  • 1
    If that's your whole path, then it looks like to rooked it pretty severely. – Ƭᴇcʜιᴇ007 Oct 6 '16 at 20:33
0

javac require you to have JDK installed instead of JRE. If you have already installed JDK, try changing JAVA_HOME variable to your JDK root directory (eg: "C:\Program Files (x86)\Java\jdk1.8.0_101")

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.