On 2/15/2013 10:20 AM, Oskar Zinger wrote:
Trying to build Derby 10.8.3.0 and getting the following error:

C:\Apache\db-derby-10.8.3.0-src>ant -quiet buildsource

BUILD FAILED
C:\Apache\db-derby-10.8.3.0-src\build.xml:241: Don't know how to set java15compile.classpath, java16compile.classpath using this environment:

java.vendor = IBM Corporation
java.home = C:\IBM\Java_SDK_1.6\jre
java.version = 1.6.0
os.name = Windows XP
j14lib = null
j15lib = null
j16lib = null
jdkSearchPath = C:\IBM

Please consult BUILDING.html for instructions on how to set the compiler-classpath properties.

Total time: 1 second

C:\Apache\db-derby-10.8.3.0-src>

All of the paths are setup correctly and terminal finds, ant, java and javac.

There seems to be a similar issue already submitted (even though its Mac OS X, but the error is exactly the same, so the work-around is the same), which can be found here: https://issues.apache.org/jira/browse/DERBY-5984

Hi Oskar,

To get building try creating a file at the top of the code tree called local.properties and add the following values:

jdk16= C:\IBM\Java_SDK_1.6
j16lib=${jdk16}/jre/lib

Best

Kathey

Reply via email to