PATH Settings
September 29, 2008
PATH Settings
I hope us we all very familiar of installing JAVA and configuring with windows.
But, when we are installing with new PC, we use to get some new problems.
For example, I brought a new PC. I just installed JAVA and Maven in my system. I have set all needed environment variables. But when I did JAVA in command prompt, it’s working absolutely fine. but JAVAC is not working. I use to get the message like “javac not recognized as an internal or external command”.
Then after some googling in net I got to know that we have to set some PATH variable also for to run JAVAC. My example Path variable is:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
%PATH%;%JAVA_HOME%\\bin;%M2_HOME%\\bin
I believe this will help some ppl who new to java
Trackback this post | Subscribe to the comments via RSS Feed