// JP opened flex table

Click to See Complete Forum and Search --> : JRE version check on windows


navinkaus
March 24th, 2007, 06:53 AM
I am creating a installer for java application. Installer is built in java only so it is important to check whether JRE is installed on the target machine or not. So to check whether JRE is installed or not can not be in installer as it requires JRE to run.

I am thinking to put in .bat file , Do you have any better idea or any sample for the above problem.

Thanks,
chh_kaushik

dlorde
March 24th, 2007, 08:18 AM
If you want to install to Windows or Mac OS X, I would strongly recommend using a professionally written Java installer like Advanced Installer (http://www.advancedinstaller.com/java.html). This has a free version that will do all the basic install stuff, is very easy to use, and gives very professional results. It allows you to check for and use the JRE on the client machine, or to bundle a JRE with your application.

The biggest difference between time and space is that you can't reuse time...
M. Furst

navinkaus
March 24th, 2007, 08:29 AM
Thanks for the quick reply.
Since I am already using custom installer so it won't be possible right now to use another installer, so what I am looking for, that some kind of batch file which can check the jre version and if it is not present then install it and after completing this operation start my custom installer.

Thanks,

//JP added flex table