A
A
Alex vak2017-12-04 19:52:44
Java
Alex vak, 2017-12-04 19:52:44

What values ​​should be assigned to the PATH, CLASSPATH, and JAVA_HOME variables in environment variables when installing JDK 1.8?

Hello.

What values ​​should be assigned to the PATH, CLASSPATH and JAVA_HOME variables in the environment variables when installing JDK 1.8 (on windows 8.1 64 bit) so that everything works? I also have an Eclipse Neon.
Now in my environment variables it is registered only PATHin system variableswith the values: C:\Program Files\Java\jdk1.8.0_152\bin;and C:\ProgramData\Oracle\Java\javapath;.

Maybe it is also necessary to register CLASSPATH in user variableswith the value:
C:\ProgramFiles\java\jdk1.8.0_152\lib;or .;, as well as JAVA_HOMEin user variableswith the value:
C:\ProgramFiles\Java\jdk1.8.0_152;?
Per_Sreda.png

Which of the above should be included and which should not?
Do I need to write something else?
PS I ask this because I ran into a problem while working in eclipse neon.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question