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]
Other format: [Raw text]

compile problem



I've just tried to compile something with GCJ but it's not finding
the core class library.

I've got LD_LIBARY_PATH set to the directory where libgjc.so is. I've
got a project specific CLASSPATH, eg:

../paperclips/lib/gnugetopt.jar:../paperclips/lib/gnujaxp.jar:\
../paperclips/lib/gnujsp.jar:../paperclips/lib/gnusocketserv.jar:\
../paperclips/lib/kawa.jar:../paperclips/lib/servlet.jar:\
./classes/


I'm doing this:

 gcj -d classes -classpath $CLASSPATH \
   ../paperclips/source/gnu/inet/mime/base64/Base64InputStream.java


and I'm getting this:


 ../paperclips/source/gnu/inet/mime/base64/Base64InputStream.java:0: 
 Can't find default package `java.lang'. 
 Check the CLASSPATH environment variable 
 and the access to the archives 
 1 error



Anybody got any idea why this should be?


Nic

PS this starts the slow grind of getting paperclips to compile with
gcj... once that's done, we'll have a very nice webserver!


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