cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
NelsonChen
Level 4

InstallAnywhere 2022 - Error: Could not find or load main class com.zerog.lax.LAX

Jump to solution

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

0 Kudos
(1) Solution
vjayaraman
Revenera
Revenera

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

View solution in original post

0 Kudos

(2) Replies
vjayaraman
Revenera
Revenera

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

0 Kudos

Hi vjayaraman,

Thank you for providing the workaround.  It worked perfectly. 

0 Kudos