I am a long time Java programmer, and it is my suggestion that you don't set your CLASSPATH environment variable, but that you always pass the classpath as a parameter to the JVM. E.g.:
java -classpath C:\java\classes\;c:\java\lib\myLib.jar
The reason for this is to avoid conflicts when you start to write multiple projects that depend on different classpaths.
A simple shortcut is to create a default batch file that includes your mostly used libraries. You could then edit this batch file as needed with any new project.
HTH,
Manuel Amago.
I am sorry but I dont understand,
first: I get into the environment variable and where do i type in the class path , exactly where,
there is two place which I can put the classpath and path?
Please give me easy instructions, that is all I need to know for me to start programming.
Thanks for quick reply.
Regards
jOhanna
In XP Home version, select ControlPanel->System->Advanced->EnvironmentalVariables
If you do not have a User Variable that is called CLASSPATH, select New and enter CLASSPATH and the directories you want to include into the CLASSPATH. Otherwise, select CLASSPATH, click on Edit, and modify the directories in the CLASSPATH.