setting environment variable
To run the java, and javac exes in any directory pathI have set the environment varible aspath='c:\jdk1.2.1\bin\'But it is not working why?
Hi Amirtraj,Try this out in the command prompt:For example:E:\>set classpath=%CLASSPATH%;.;c:\jdk1.2.1\bin;andE:\>set path=%PATH%;.;c:\jdk1.2.1\binnow type java or javac, it will work.