This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
compile problem
- From: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- To: java at gcc dot gnu dot org
- Date: 07 Feb 2002 19:43:47 +0000
- Subject: 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!