-2

I am new to programming.

I want to set java environment, but it is not working even I set the path.

This is the directory, I put the first one on path C:\Program Files\Java\jre1.8.0_181\bin:
enter image description here

here is my path for java in system variable:
enter image description here

I tried to restart cmd and even my laptop, but it is still not working

Thank you for you help!

  • Have you set a JAVA_HOME system variable? – Jimmy_A Sep 13 '18 at 11:39
  • Please paste text, your images are difficult to read. – Hogstrom Sep 13 '18 at 13:02
0

The Java compiler (javac) is generally not included within the jre; you will instead need to install the jdk or the Java Development Kit. You seem to be doing everything else correctly though. Good luck!

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