- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: InstallAnywhere 2022 - Error: Could not find or load main class com.zerog.lax.LAX
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
We are using InstallAnywhere 2022 R2 to build our installers for Windows and Unix. With the OpenJDK 17.0.8.0+7 or 17.0.8.1+1, invoking the installer caused the following error on RedHat Linux 8.x and 9.x.
---------------------------------------------------------------------------------------
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Error: Could not find or load main class com.zerog.lax.LAX
Caused by: java.lang.ClassNotFoundException: com.zerog.lax.LAX
------------------------------------------------------------------------------------------------------
With OpenJDK 17.0.7+7, this problem does not occur.
Has anyone seen this problem? Is there a solution or workaround?
Nelson
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Either set,
Goto Project--> JVM Setting---> Installer Setting --> Add additional argument --> -Djdk.util.zip.disableZip64ExtraFieldValidation=true
OR
set JAVA_TOOL_OPTIONS= -Djdk.util.zip.disableZip64ExtraFieldValidation=true environment variable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Either set,
Goto Project--> JVM Setting---> Installer Setting --> Add additional argument --> -Djdk.util.zip.disableZip64ExtraFieldValidation=true
OR
set JAVA_TOOL_OPTIONS= -Djdk.util.zip.disableZip64ExtraFieldValidation=true environment variable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi vjayaraman,
Thank you for providing the workaround. It worked perfectly.