Reputation: 2330
I have created an installer for my Java app using Install4j.
I want to check whether JRE/JDK is installed on my system or not. This checking will be performed at the start-up of the installer. So how can i do that ?
And help will be highly appreciated.
Upvotes: 1
Views: 1142
Reputation: 48070
install4j always checks whether a suitable JRE is available, otherwise it cannot run. If no suitable JRE is available, an error message will be displayed.
If you do not want to statically bundle a JRE into the installer, you can use the "dynamic bundle" option that will download the JRE on demand. This is configured on the "Bundled JRE" step of the media wizard.
Upvotes: 1