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'



Dachuan Yu writes:

> Reading specs from /usr/home/dachuan/gcc/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.0/specs

OK, so you're using gcj from the 3.0. Maybe you should try a newer
version of the 3.0 branch. I suspect (but I haven't verified) that the
class path dump isn't in what you're using. The development version
built OK last night, it probably still does. You could try this one
out too.

> 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.

I don't understand. If you can reproduce this bug with the latest and
greatest from 3.0 branch, then it should probably be investigated.

Thanks,

./A


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