- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- JVM Settings: can there be platform-specific JVM arguments for the installer?
- 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
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.