compile problem

Nic Ferrier nferrier@tapsellferrier.co.uk
Thu Feb 7 11:35:00 GMT 2002


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!


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /