On Sat, 24 Nov 2001, John P. Verel wrote: > Running jdk-1.3.1-fcs. When I attempt to compile a .java file that > imports a class that is yet uncompiled but whose source file is in the > current directory, I get an error message saying the the class file > cannot be found. On my W95 machine at work with the same jdk, the > compiler finds and compiles any such uncompiled source. > > I've fiddled with CLASSPATH, PATH, etc. all with no luck. Any ideas on > this one?
Your classpath must be wrong. From your above description, my bet is you are using ";" in your classpath so it gets cropped before your src tree is included. If not, then make sure you have the root of your source tree int he classpath. If you are developing com.foo.SnazzyApp.YourClass and you are in /home/jverel/dev/java/src/com/foo/SnazzyApp you should compile with javac -classpath /home/jverel/dev/java/src YourClass.java hth charles _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list