Knut Anders Hatlen <[email protected]> writes: > Since Derby's build script is supposed to do the right thing with the > classpath if it only finds JDK 6, you may have more luck if you try > again with only this in ant.properties: > > jdk16=c:/sun/sdk/jdk > j16lib=${jdk16}/jre/lib > > But with your setup this shold have been detected automatically.
It looks like we only detect that it's JDK 6 if the directory in which it is installed contains the string "1.6". I have logged this as a bug here: https://issues.apache.org/jira/browse/DERBY-4263 For now, setting (only) j16lib as described above or renaming your jdk directory to jdk1.6.0 should make it build. Hope this helps, -- Knut Anders
