ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4011] New: - JAVA_HOME path mismatch
Date Sat, 06 Oct 2001 22:22:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4011>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4011

JAVA_HOME path mismatch

           Summary: JAVA_HOME path mismatch
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: adi.schwalb@t-online.de


Hi
In the most case under WinNT/2K an executable jdk is registered
in the registry. And the JAVA_HOME ( look for java.home in netscapes
java console ) is set to x:\Programme\JavaSoft\JRE\1.x.x . 
That is ok for the most Win PC's that have only a JRE installed.
A software distributor then can rely on that, that a minimum requirement
is the JAVA_HOME setting, to run its product without a jdk. 
Now ant cannot run with that JAVA_HOME, why in the JRE there is no javac
nor a library tools.jar.(In another environment i can not rely on that, that a 
jre has a javac or tools.jar, when i copy it in that location).
Indeed there is a difference between a JRE and a JDK for Win PC's.
In my opinion there must be a JAVA_HOME and a JDK_HOME that there is no
more a JAVA_HOME path mismatch.

Mime
View raw message