Reputation: 7656
I'm upgrading from Install4J version 4 to version 6. After making the appropriate changes in my code, I ran the newly-built upgrader to update the original software installation, and found that my software launcher is updated but the i4jruntime.jar file is not updated. The result is that my application won't run because of "Error: Could not find or load main class com.install4j.runtime.launcher.UnixLauncher"
When I manually copy i4jruntime.jar (version 6) over i4jruntime.jar (version 4) in the .install4j folder, then my application launches just fine.
I read the help docs on Generated Installers > Updates, but it seems like this is more about updating your software, not updating Install4J itself.
How can I get Install4J to update the i4jruntime.jar file itself?
Upvotes: 1
Views: 1843
Reputation: 48105
The runtime will be upgraded unless you have set the installer type to "Add-on installer" on the "Installer->Update options" step or if you have deselected the "Install runtime" property on the "Install files" action.
Upvotes: 1