BundleJRE
Be sure your JAVA
program runs everywhere... |
||
Introduction: With BundleJRE developers of JAVA applications can ensure, that their programs run on every target sytem. The developer deploys his application as a .jar file. The usual problem is this, that a target system possilby has not a JRE installed at all, or a too old one. This issue is solved by BundleJRE. How does it work? You deploy your JAVA application as usual to a .jar file. Beside this, you copy the BundleJRE executable and configuration file. In this configuration file you can define, which JRE version is required as minimum for your application (i. e. 1.5). BundleJRE will check if this requrirement is complied. If not so, a JRE installer will be executed. This must also reside next to your .jar file and the two BundleJRE files and can be downloaded at http://java.com. Which operating systems are supported? By now Windows and Linux are supported. Although BundleJRE is probably more useful for Windows as target system. This is because on many Linux systems JAVA is already installed out of the box or far easyier to install, aside from the more experienced users by trend. How does the configuration file look like? It's a simple INI formatted file, in which you can define the three necessary informations: The minimum JRE version, the file name of the JRE installer, and finally the command to your application.
Troubleshooting Try running BundleJRE from the command line, rather then clicking on it from your visual file manager. It gives you detailed information... Making the whole thing round 7-zip self executable |