Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B7B2926A for ; Tue, 25 Oct 2011 18:26:55 +0000 (UTC) Received: (qmail 50385 invoked by uid 500); 25 Oct 2011 18:26:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50367 invoked by uid 500); 25 Oct 2011 18:26:54 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 50336 invoked by uid 99); 25 Oct 2011 18:26:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 18:26:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 18:26:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6ECC431B277 for ; Tue, 25 Oct 2011 18:24:32 +0000 (UTC) Date: Tue, 25 Oct 2011 18:24:32 +0000 (UTC) From: "Rick Hillegas (Commented) (JIRA)" To: derby-dev@db.apache.org Message-ID: <821266452.14591.1319567072455.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1224913473.1785.1318881910595.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5469) Make it possible to build Derby if you are on Mac OS X and your JDK is JDK 7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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