Re: Cannot set path for java program compilation pls help urgent..???
Posted By:
P_Manchanda
Posted On:
Thursday, December 19, 2002 04:11 AM
hi friend,
u need to set the CLASSPATH variable.
on NT u can go to control panel>system and set this variable there.
on 98/95 u can set the same variable in the autoexec.bat file.
this variable will poinr to the tools.jar which is in your lib directory of the jdk. so give the complete path like this
CLASSPATH=/lib/tools.jar.
further u can put any classes i.e. jar/zip files u wish to use in the classpath by putting there value to the classpath variable.
hope it helps