You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/08/05 16:48:48 UTC

DO NOT REPLY [Bug 36043] New: - JAVA_HOMEdirectory name ending with jre causes problems

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: 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