DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36043>. 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]