db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: Building JDK 1.6/JDBC 4.0 code
Date Tue, 07 Feb 2006 21:35:57 GMT
Hi Dan,

Does your 1.6 installation have a compiler or does it only hold the jre? 
In my ant.properties, I have the following assignment:

jdk16=c:/cygwin/home/rh161140/sw/java/jdk-6_0-70

That directory, in turn, contains a bin subdirectory (which holds the 
1.6 compiler) and a jre subdirectory. Hope this helps.

Regards,
-Rick

Daniel John Debrunner wrote:

>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