This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: jc1: Can't find default package 'java.lang'


> It wasn't the wrong jc1 because I was using absolute path. Neither
> "gcj -v" nor "jc1" tells me the class path. How do I explicitly specify
> the class path? "--classpath=..." and "--CLASSPATH=..." didn't
> seem to help either.

Using "-fCLASSPATH" on jc1 solved the problem. Thank you for you help!

However, it's still unclear to me why "gcj" worked while "jc1" didn't
when I didn't specify the class path.

Dachuan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]