need help with setting classpath in windows xp

Hello everyone:I am new to java programming, I have installed jdk1.3.1_03 (correctly) but I need to knwo how to set up the class path in the windows xp, please give me simpe instructions on this. Thank you for your help.Best RegardsJohanna
[267 byte] By [jchristian727a] at [2007-9-27 7:57:02]
# 1

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.

mamagoa at 2007-7-8 12:29:08 > top of Java-index,Developer Tools,Java Compiler...
# 2

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

jchristian727a at 2007-7-8 12:29:08 > top of Java-index,Developer Tools,Java Compiler...
# 3

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.

atmguya at 2007-7-8 12:29:08 > top of Java-index,Developer Tools,Java Compiler...