New to Java, Trying to set up environment variables for javac
Posted on 2008-10-07
I'm trying to set up my environment variables on my Win XPSP3 machine so that i can run javac from anywhere (via MS-DOS). So far what i've done is:
Added JAVA_HOME to my System Variables and put the Value to where i install the JDK
Added %JAVA_HOME%\bin to my Path System Variable.
Whenever i try to run javac from a location the exe file is not in, it gives me the error message:
"This application has failed to start because jli.dll was not found. Re-installing the application may fix this problem."
However, if i go into the JDK\bin folder and run javac it comes up with the different options i can use with it, so i know its installed correctly.
This is really a newbie question, i know but i'm afraid i can't figure it out...