ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject AW: Ant not obeying JAVA_HOME?
Date Tue, 21 Sep 2004 10:15:04 GMT
> > Of course, a lot of this stuff is what ant.bat is all about.
> Right, but I'm trying to avoid using platform dependent 
> scripts and mess 
> with with the users environment; i'm actually working from within an 
> installer and trying to be as java-based as possible; thus far 
> everything works fine on unix and windows :-)

Of course we could add a -javahome option, but thats too much for just
adding the tools.jar I think. So 
  java -jar ant-launcher.jar -lib %JAVA_HOME%\lib\tools.jar;... 
would be the one I would try.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message