Hi, EveryOne
I am a new to jde.
I installed jdk1.3 from IBM, and jde-2.14-2.
I have a package "graph" in the directory:

~/jpj/graph/src/graph/*.java
Each java file includes " package graph"


When I compile the files, the interface file which are the toppest can
be compiled.
But when I compile other files, it seems that the compiler cannot find
other files in the same package.

Example:
(1)If A.java is independant on other java files in the same package, the
compiler can compile it.
(2)If A.java is dependent on B.java, when I compile A.java, the compiler
complains that it cannot find the graph.B.

I already customize the classpath of the project to :
~/jpj/graph/src/:~/jpj/graph/class/:./:/jpj/graph/src/graph/
I think the classpath includes so many places. Unfortunately, it still
fails.
On the other hand, It seems that the javac -sourcepath option does not
work even in the command line.


Thanks advance!
yangyuexiang

Reply via email to