Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 2

JVM Settings: can there be platform-specific JVM arguments for the installer?

Using InstallAnywhere 2022 R2:

- When opening an installer profile, under JVM settings > Installer Settings, there is a text field where users can enter "Optional Installer Arguments". I'm wondering, is there any way to make these platform-specific? As in, for Windows, use these 1 set of JVM arguments, for Linux, use a different set of JVM arguments?

Note this is for the installer only JVM arguments. It is easy enough to make platform-specific variables and pass those to LaunchAnywhere executable.

Reason why I'm asking: In ubuntu 22.04 and Java 1.8 JVM, Java swing shows rendering artifacts by default. These rendering artifacts can be fixed in Ubuntu by using -Dsun.java2d.opengl=true -Dsun.java2d.d3d=false. This would work for Ubuntu, but cause problems for Windows. Hence, being able to differentiate the JVM settings of the installer per OS-environment would help this issue. 

0 Kudos
(0) Replies