[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#317367: incorrect classpath & java.lang.Object cannot be resolved



Package: java-gcj-compat
Version: 1.0.30-1

I get this error using javac from java-gcj-compat -


fis% /usr/lib/jvm/java-gcj/bin/javac TestAccess.java
incorrect classpath: /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
----------
1. ERROR in TestAccess.java
 (at line 1)
        /**
        ^
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
----------
fis% 


Sure enough, /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar doesn't
exist - on my system or in the java-gcj-compat pacakge

However, /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/rt.jar does

Why is javac asking for
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar instead of
/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/rt.jar?

Many thanks!

Jack

Attachment: signature.asc
Description: Digital signature


Reply to: