Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 35805 invoked from network); 14 Apr 2010 00:10:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Apr 2010 00:10:13 -0000 Received: (qmail 94435 invoked by uid 500); 14 Apr 2010 00:10:12 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 94410 invoked by uid 500); 14 Apr 2010 00:10:12 -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 94403 invoked by uid 99); 14 Apr 2010 00:10:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 00:10:12 +0000 X-ASF-Spam-Status: No, hits=-1282.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 00:10:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3E09paJ019480 for ; Tue, 13 Apr 2010 20:09:51 -0400 (EDT) Message-ID: <21537936.83411271203790995.JavaMail.jira@thor> Date: Tue, 13 Apr 2010 20:09:50 -0400 (EDT) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4263) PropertySetter isn't able to recognize JDK without version number in path In-Reply-To: <1986965356.1244503567342.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856701#action_12856701 ] Myrna van Lunteren commented on DERBY-4263: ------------------------------------------- The patch was committed and has been in the codeline for quite a while. (click on 'All' or 'Subversion Commits' in JIRA to see the commits). And the final problem I saw (with the MANIFEST.MF file in IBM SR5) was fixed by IBM in the 1.6 SR7 point release. Sounds like you are seeing a different problem. I suggest you run read the BUILDING.html carefully, if that gives no ideas, run ant with -DprintCompilerProperties=true (or set printCompilerProperties=true in $HOME/ant.properties or /local.properties) and send an email to the derby dev list (derby-dev@db.apache.org) with the output. JIRA is for bugs, sounds like you are only running into some setup hurdles. > PropertySetter isn't able to recognize JDK without version number in path > ------------------------------------------------------------------------- > > Key: DERBY-4263 > URL: https://issues.apache.org/jira/browse/DERBY-4263 > Project: Derby > Issue Type: Bug > Components: Build tools > Affects Versions: 10.6.0.0 > Reporter: Knut Anders Hatlen > Assignee: Kristian Waagan > Priority: Minor > Fix For: 10.6.0.0 > > Attachments: derby-4263-1a-jdk_detection_by_jars.diff, derby-4263-1b-jdk_detection_by_jars.diff > > > With empty ant.properties and JDK 6 installed in /tmp/jdk as the only JDK on the system, PropertySetter complains that it's not able to set java16compile.classpath: > ,---- > | [setJdkProperties] > | [setJdkProperties] PropertySetter environment = > | [setJdkProperties] > | [setJdkProperties] java.vendor = Sun Microsystems Inc. > | [setJdkProperties] java.home = /tmp/jdk/jre > | [setJdkProperties] java.version = 1.6.0_13 > | [setJdkProperties] os.name = SunOS > | [setJdkProperties] j14lib = null > | [setJdkProperties] j15lib = null > | [setJdkProperties] j16lib = null > | [setJdkProperties] > | > | BUILD FAILED > | /code/derby/trunk0/build.xml:203: Don't know how to set java15compile.classpath, java16compile.classpath using this environment: > | > | java.vendor = Sun Microsystems Inc. > | java.home = /tmp/jdk/jre > | java.version = 1.6.0_13 > | os.name = SunOS > | j14lib = null > | j15lib = null > | j16lib = null > `---- > Since it is able to detect both that the version of the default JDK is 1.6.0_13 and where it is installed, setting java16compile.classpath should be trivial. > If the name of the JDK directory is changed from /tmp/jdk to /tmp/jdk1.6.0, Derby is built successfully. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira