From dev-return-68285-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Fri Aug 05 14:49:03 2005 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 38153 invoked from network); 5 Aug 2005 14:49:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Aug 2005 14:49:03 -0000 Received: (qmail 7713 invoked by uid 500); 5 Aug 2005 14:49:00 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 7650 invoked by uid 500); 5 Aug 2005 14:49:00 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 7637 invoked by uid 99); 5 Aug 2005 14:48:59 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2005 07:48:51 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 91DA8E0; Fri, 5 Aug 2005 16:48:48 +0200 (CEST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 36043] New: - JAVA_HOMEdirectory name ending with jre causes problems X-Bugzilla-Reason: AssignedTo Message-Id: <20050805144848.91DA8E0@ajax.apache.org> Date: Fri, 5 Aug 2005 16:48:48 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36043 Summary: JAVA_HOMEdirectory name ending with jre causes problems Product: Ant Version: 1.6.2 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: vprice@us.ibm.com If I set JAVA_HOME to a directory with a name that ends with "jre" then Ant cannot locate the tools.jar. It appears that Ant is seeing the "jre" at the end and assuming it is a subdirectory, then backing up 4 positions to what it thinks the parent directory is. For example, if my directory name is: c:\myTestJRE then Ant gives me an error that it cannot locate the tools.jar, expected to find it in: c:\myTes\lib\tools.jar Note that character prior to the "jre" is changed to a backslash. If I change my directory name to c:\myTestJRE2 then it works OK. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org