(resent to be stored in the archives mailing list)
Begin forwarded message:
Date: September 21, 2007 11:44:39 AM GMT+02:00
Subject: Re: compiling derby-g-0.3
Hi Nick,
This is probably a CLASSPATH and/or JAVA_HOME definition problem.
Make sure that the properties j13lib and j14lib are well defined. This is ususally the JAVA_1.3_HOME/jre/lib and JAVA_1.4.2_HOME/jre/lib.
Another thing that you should check is the JAVA version that ant is using. you have to set the JAVA_HOME to your jdk version 1.4. Check it using the command: ant -diagnostics
Hope this helps,
nuno
On Sep 17, 2007, at 11:17 , buzzc4nfw wrote:
Hi
I'm having some trouble in compiling derby. I've followed the install
instructions, adding all of the jdks, jce etc.
The first 13 files get compiled, then the next one fails.
I keep getting the following error -
init:
[mkdir] Created dir: derby-g-0.3/classes
ensuresanitystate:
setissane:
showenv:
[echo] Ant environment:
[echo] Base Directory: derby-g-0.3
[echo] Build output: derby-g-0.3/classes
[echo] Compiler: modern
[echo] Sane = false
[echo] Proceed = no
getstate:
state:
shared:
compile:
[javac] Compiling 11 source files to /derby-g-0.3/classes
[javac] Compiling 1 source file to /derby-g-0.3/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath or
bootclasspath
BUILD FAILED
derby-g-0.3/build.xml:347: The following error occurred while executing this
line:
derby-g-0.3/java/shared/build.xml:89: Compile failed; see the compiler error
output for details.
Total time: 1 second
Any ideas?
Thanks
Nick
--
Sent from the GORDA Community mailing list archive at Nabble.com.
---------------------------------------------------------------------
--
Nuno Carvalho
University of Lisbon, Portugal