Don't confuse classpath with path. One is used to search for compiled
'*.class' files, the other is used for finding executable files.
You should not need to add
c:\jdk1.3.1_02\bin to your classpath. As an example of how you should set your classpath:
If for example, you have created 2 files like:
--------
package com.pt;
public class A {}
--------
package com.pt;
public class B {}
--------
Then after compiling you should have two class files: A.class, and B.class. In order to be able to use these, you would need to place these files in a directory structure like:
c:\some\path\to\my\package\root
--> com
-------> pt
--------------> A.class, B.class
Then you should add c:\some\path\to\my\package\root to your classpath
If create a jar file to hold your classes, you would need to:
[1] change to c:\some\path\to\my\package\root
[2] jar Mcf pt.jar com
Then you could place the jar file in another folder such as: c:\path\to\jars and you would need to add the following to your classpath:
c:\path\to\jars\pt.jar
Hope this helps
