Debugging a UNIX/Linux or Pure Java Installer
InstallAnywhere 2022
To debug UNIX/Linux installers and pure Java installers without access to the InstallAnywhere Advanced Designer, set LAX_DEBUG to True.
To capture the debug output from the UNIX command line:
1. | Enter one of the following (based on which shell is being used) at the command line: |
export LAX_DEBUG=true
setenv LAX_DEBUG true
LAX_DEBUG=true
set LAX_DEBUG
Note:Use whatever syntax is appropriate for the UNIX shell being used.
2. | Run the installer. |
The output that is produced is sent to the console.
Important:The Choose Java VM Console action traces symbolic links for any data that are entered as a path to a VM. This can lead it to display an unfamiliar path.
To capture debug output from a pure Java installer:
At the command line, start the pure Java installer and pass the -DLAX_DEBUG=true option to the JVM. For example:
java -DLAX_DEBUG=true -jar install.jar
Like setting a LAX_DEBUG environment variable for UNIX/Linux installers, passing the LAX_DEBUG Java property to a pure Java installer sends debug output to the console.
See Also