Packaged application in java

Raghav Mathur

Ranch Hand

Posts: 641

posted 14 years ago

HI i've made an application which is now jared. Now what i wish to do is to bundle this application with JRE so that even if the JRE is not installed on the machine , my application would still execute and run fine. What exactly should i do to achieve this ? Thanks in advance

Raghav.

Raghav Mathur

Ranch Hand

Posts: 641

posted 14 years ago

Please guide me a bit .

Raghav.

Samiul Karim

Greenhorn

Posts: 9

posted 14 years ago

You can go for creating an installer for your application using InstallAnywhere. Just check it out once. It has everything that you need.

Raghav Mathur

Ranch Hand

Posts: 641

posted 14 years ago

I need to keep this application on the web so that it can be downloaded by the clients. For this reason i need to keep the size of this downloadable applicatiion minimum . I was just wondering if i create a setup, then how much would be the size of this application to which JRE would be bundled . Will it be downloadable by a normal user not having a fast connection ? what if i could bundle JRE jar files into my application ? if yes then what all Jar files of the JRE i need to bundlw with my own application ? Thanks in advance

Raghav.

Samiul Karim

Greenhorn

Posts: 9

posted 14 years ago

InstallAnywhere has the option of including the JRE also. It automatically adds all required files (basically all files in rt.jar). The size will definitely be large since the JRE is a big package. However, InstallAnywhere also has the option of creating installer for the web, in which case, some optimization is done. I would suggest you keep both the things separately since some users will already have the JRE installed.

Raghav Mathur

Ranch Hand

Posts: 641

posted 14 years ago

I presume that XP doesn't have JRE .Rest of them ( windows series) have. Secondly , where can i get a free version of installanywhere from ?

Originally posted by Samiul Karim: I would suggest you keep both the things separately since some users will already have the JRE installed.