Sukhpreet Singh Alang
Sukhpreet Singh Alang

Reputation: 37

what should be the java path in the environment variable on my system Windows 10

Location where my java is installed

Can someone please let me know what should path for java I need to mention in the environment variable. for java_home etc..Let me know if you need more info from me. I am very new to the java installation so please excuse if I ask silly question.

Java version : java version "1.8.0_171"

Another strange this is that there is no jdk folder in java. please refer to the link Location where my java is installed...

Thanks!

Upvotes: 0

Views: 6031

Answers (1)

Michael Ziluck
Michael Ziluck

Reputation: 655

For JAVA_HOME it should be C:\java, but on your Path variable, it should point to C:\java\bin\ since Path is what is used to tell the Command Prompt where to look for executables.

Upvotes: 3

Related Questions