db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Building JDK 1.6/JDBC 4.0 code
Date Tue, 07 Feb 2006 21:28:01 GMT
Andrew McIntyre wrote:

> 
> On Feb 7, 2006, at 1:02 PM, Daniel John Debrunner wrote:
> 
>> I couldn't find any instructions on how to setup to build the JDK
>> 1.6/JDBC 4.0 specific targets in the BUILDING.txt file.
>>
>> How can I build this code as part of an
>>
>> ant all
> 
> 
> Set jdk16 in your ant.properties to the JAVA_HOME for a 1.6 vm. The 
> bin, jre, and lib dirs should be in that directory.
> 
> e.g.:
> ...
> jdk16=c:/workspace/jdk16

Thanks (to Rick as well), hit the next problem below. I know there was
some e-mail about these targets failing, has that been addressed?

Dan.

compile_jdbc4_target:
     [echo] Unable to locate tools.jar. Expected to find it in
C:\Program Files\
IBM\Java142\lib\tools.jar
     [echo]
     [echo] BUILD FAILED
     [echo]
C:\_work\svn_clean3\trunk\java\engine\org\apache\derby\impl\jdbc\bui
ld.xml:150: Unable to find a javac compiler;
     [echo] com.sun.tools.javac.Main is not on the classpath.
     [echo] Perhaps JAVA_HOME does not point to the JDK
     [echo]
     [echo] Total time: 1 second

Mime
View raw message