Hi Friends, Is it possible to write a batch file which will check whether JRE 1.2 is installed.If not then install the JRE else run my JAR file.My target users are windows users and I am distributing app in CD which will have JRE files. Thanks in adv Sonu
Consider checking out InstallAnywhere (there's a free version available) http://www.zerog.com/ This will create an installer for your app, and you can bundle other resources with it: ie. - JRE (you can choose pretty much any version of JRE from 1.1x - 1.4x) and from different vendors also (Sun, IBM etc)
Joined: Jan 23, 2002
Thanks James ,but I don't want to go any vendor's product.Is there any way using VB script or anything which will check the registry whether JRE1.2 is installed .
Joined: Jun 26, 2001
Well you could try something like this (very rudimentary, but it's a start):
This of course assumes someone has setup JAVA_HOME environment variable etc.