I want to add my java path but i don't understand , among all of these path, I which should add my java path?
22 Answers
I understand that you want to add Java to the PATH, so you don't need to specify its location each time to execute java, javaw or javaws.
The first one (C:\Program Files (x86)\Common Files\Oracle\Java\javapath) is added by the Java installer and is the default location to find the binaries there.
After adding the path, you must create a link with JDK run this command in CMD
mklink /d C:\ProgramData\Oracle\Java\javapath "C:\Program Files\Java\jdk1.8.0_40\bin\"