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 2002/05/18 17:40:37 UTC
DO NOT REPLY [Bug 9183] -
Make a reasonable guess about the JDK
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=9183>.
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=9183
Make a reasonable guess about the JDK
------- Additional Comments From burner@core.binghamton.edu 2002-05-18 15:40 -------
I believe you can do even a little better. If your system is setup so that java
and javac are symlinks from /usr/bin or /usr/local/bin (or wherever), you can do
this:
jpath=$(realpath `which java`)
(on the systems I've tested this on, jpath points to the file
$JAVA_HOME/bin/.java_wrapper )
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>