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

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


  • vjayaraman (Flexera Software)

    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

    Expand Post
    Selected as Best
  • vjayaraman (Flexera Software)

    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

    Expand Post
    Selected as Best

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