[
https://issues.apache.org/jira/browse/DERBY-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135307#comment-13135307
]
Rick Hillegas commented on DERBY-5469:
--------------------------------------
Thanks, Kathey. I believe I have made some headway in understanding how the IBM
JDK 7 for Linux is confusing the Derby build. The PropertySetter task is
looking inside the rt.jar of the IBM JDK 7 in order to read the jar manifest
and figure out what kind of JDK this is. Unfortunately, the manifest for that
jar file looks wrong. Here it is:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 2.4 (IBM Corporation)
Build-Level: $HeadURL$@$Rev$,2011-08-27 07:16:30.694
Implementation-Version: 6.0
The manifest says that the JDK is Java 6 rather than Java 7 and the manifest is
missing the Implementation-Vendor and Specification-Version attributes. For
comparison, here is the manifest from the rt.jar for IBM JDK 6 for Linux:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 2.3 (IBM Corporation)
Specification-Title: Java Platform API Specification
Implementation-Title: Java Runtime Environment
Specification-Version: 1.6.0
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Version: 1.6.0
Implementation-Vendor: IBM Corporation
It is possible that the same problem may be found in the jar files for IBM JDK
7 for other platforms. For the time being, this may prevent us from using those
JDKs to build Derby.
Could someone at IBM bring this to the attention of the IBM JDK team? Thanks.
> Make it possible to build Derby if you are on Mac OS X and your JDK is JDK 7
> ----------------------------------------------------------------------------
>
> Key: DERBY-5469
> URL: https://issues.apache.org/jira/browse/DERBY-5469
> Project: Derby
> Issue Type: Improvement
> Components: Build tools
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Attachments: derby-5469-01-ae-add17andJavadoc.diff,
> derby-5469-01-af-dontSetUprevVariables.diff, derby-5469-01-ag-cleanedUp.diff
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira