Hi Friends, I have a ant based installer. Now,I want to write an ant script that should detect if java is already installed on the system or not.If not, it should try to install java that is there with the installer package. So,any help as to how to accomplish this?? Thanks
SCJP 1.4 (88%)<br />SCWCD 1.4 (88%)
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35224
7
posted
0
Since Ant needs Java to run, it would be quite a miracle to get it to install Java if it isn't installed already
Thanks for your reply.I can try some other way to detect java for eg, I could run a batch script to start with,that should check to see if java is there or not.
If yes,launches the ant installer otherwise starts java installation.