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 33486] - [compile] take javac relative to JAVA_HOME and only if that fails from CLASSPATH or OS path (to avoid getting "Unsupported major.minor version 49.0")
Date Thu, 10 Feb 2005 11:05:38 GMT
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=33486>.
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=33486


hauser@acm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[compile] take javac        |[compile] take javac
                   |relative to JAVA_HOME and   |relative to JAVA_HOME and
                   |only if that fails from OS  |only if that fails from
                   |path (to avoid getting      |CLASSPATH  or OS path (to
                   |"Unsupported major.minor    |avoid getting "Unsupported
                   |version 49.0")              |major.minor version 49.0")




------- Additional Comments From hauser@acm.org  2005-02-10 12:05 -------
yes
echo $CLASSPATH
/usr/java/j2sdk/lib

--> o.k. unsetting CLASSPATH helps

if so, I suggest
1) to have the precedence order:
   JAVA_HOME - CLASSPATH - system path - 
2) and to warn if
   javac cannot be found relative to JAVA_HOME and the CLASSPATH is taken as 
   a fall-back


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


Mime
View raw message