
- #Install4j jre bundle install#
- #Install4j jre bundle trial#
- #Install4j jre bundle windows#
However, when building the installer, it downloads the JRE but then cannot find the downloaded JRE. JVM Options - JRE options that are to be used on the command line for all runs of your application (e.g.I am trying to create an installer with Install4J 8, bundling OpenJDK8.You can also specify a minimum and maximum heap limit that will override the %. For if you specify 25% then on a laptop with 8GB of ram your app will have a heap limit of 2GB, or if run on a computer with 16GB of ram it will have a heap limit of 4GB. Set JVM Memory to % RAM - if specified JWrapper will read the current system maximum (the total, not free) physical ram available and then set your app the specified percentage as a JRE heap memory limit (-Xmx).
#Install4j jre bundle windows#
Windows UAC Elevation - if specified JWrapper will attempt to elevate your application on Windows when it is launched. Use JAR packing - if checked JWrapper will use pack200 on your jar files to minimise space. If you do change this setting you will need to delete the entire build folder for your application to force JWrapper to rebuild the JRE packages. We recommend you leave this option off initially and then enable it when you are happy with how your app is building and running. Strip allowed JRE files - if checked JWrapper will automatically omit certain allowed files from the JRE installation that is packaged with your application. #Install4j jre bundle install#
NoInstall will mean JWrapper uses a temporary folder for the install to avoid a persistent install on the machine. If you plan to install a service then you should use this install type. AllUsers will install JWrapper in a central location to be accessed and used by all users on the computer. CurrentUser will install JWrapper per the logged in user and will not share data between multiple users on the same machine. Install Type - this determines where and how JWrapper chooses your application install folder.The Optional tab also supports a number of further settings: These will be accessible from the working directory when your app is running (".").
Additional Files and Folders - any additional resources you need to ship with your app that are not to be added to your JRE classpath.
App Logo (PNG) - a PNG file you can specify as the icon for the main application in your app, this will be used for example in the start menu in Windows. Bundle Splash (PNG) - a PNG file you can specify as the splash logo when installing and updating your application. Bundle Logo (PNG) - a PNG file you can specify as the icon for your bundled application, this will be used as the app icon for example for the exe installer on Windows. The JWrapper app also supports the following settings when building your application: When you run the build, it will initially take a number of minutes (subsequent builds will be much quicker) before popping up a window with a link to the folder containing your new native apps.Īfter these steps, once your build is complete you will have native applications for Windows, Linux and MacOS in the build folder and can run your Java application as if it were a native app. #Install4j jre bundle trial#
Once these are configured you can switch to the Enterprise tab and add your trial license at the top and hit the Dev Build button. To add files click the folder button on the right of the list and select the file to add.
JAR files - this is where you can specify JAR files to be added to the JRE classpath when JWrapper runs your application. App Main Class - this is the Java class that contains your main method, for example:. For example on Windows, this will appear in the start menu.
App Name - this will be the name of the native application as it appears to the user when they run it. Bundle Name - this will be the name of your packaged application, it will be used by JWrapper to specify the installation folder and other install-related items. To try out a simple build, you can fill in these items, then hit the 'Dev Build' button at the bottom of the application to start the build.