jc1: Can't find default package 'java.lang'
Dachuan Yu
dachuan.yu@yale.edu
Mon Sep 24 14:29:00 GMT 2001
> 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
More information about the Java
mailing list