[2599] in java-interest
Problem with classpath
daemon@ATHENA.MIT.EDU (Sid Conklin)
Thu Oct 5 20:06:37 1995
Date: 5 Oct 1995 14:55:16 -0700
From: "Sid Conklin" <sid.conklin@nora.stanford.edu>
To: "java-interest@java.sun.com" <java-interest@java.sun.com>
I'm compiling a class in the following manner:
>javac -classpath ~/kerberos/classes:~/hotjava/JDK/classes
classsrc/Credential.java
I get an error saying it can't find a dependent class, KrbConstants. After
playing around with it, it appears that javac is not paying attention to the
second path argument. If I move the import around like the following:
import krb.*;
import java.lang.*;
javac will understand where krb.KrbConstants lives but know java.lang.*. If I
change the classpath argument to the following:
>javac -classpath ~/hotjava/JDK/classes:~/kerberos/classes
classsrc/Credential.java
Then javac can't find the KrbConstants class. I've also tried the same test
with CLASSPATH with the same results.
Help!
Thanks,
Sid Conklin
Stanford University
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com