Posts

Showing posts with the label how to set java path in windows

How to set java path in Windows-10

Java / javac is not an internal or external command error will face when we didn't set java installation path properly. Here are the different ways to set the java path. Set java path:  When java installation completes, it will creates two sub directories under the top directory of Java. These two sub directories are jdk_version and jre_version. For ex:  you have installed JDK, in program files directory in your local directory the directory will generate with the name of JDK_<Version>. In JDK directory that can create the list of folders. Like bin, jre, etc. There are 2 types are there to set the java path: By using the Command Prompt (Temporary) By placing in the MyComputer (permanent) 1.Temporary Path:         First select the bin path under the jdk/jre directory. Follow these instructions. Start Menu  --->  click on Run  --->  type cmd, click on enter  ---> C:/set path=c:\j2sdk1.6.07_01\bin; 2.Permanent Path:         First select the bin fo