Pass additional parameters to vm used by javaws
Posted: 31 Mar 2026, 16:02
Hi,
I want to pass some jvm args to a program started via jnlp. I am using OWS 1.13.0 on Ubuntu. I spent a few hours searching for a way to do this and came across different combinations of the same building blocks but got none of them working, so I hope someone here can give me a pointer.
In my specific case I want to pass -Dawt.useSystemAAFontSettings=lcd to the program. I tried the following things:
- add the property to javaws.vmoptions but this seems to only be applied to the launcher and the actual jvm/program itself
- define a global deployment.properties to define additional parameters there, the file gets read but all properties suggested to me by online search and AI bots were not recognized by OWS (logs say the property key is unknown). So maybe I would only need to find the proper key to use here to specify the above option as value. I also did add deployment.jvm.arguments.whitelist=-Dawt.useSystemAAFontSettings\=lcd to the properties file so the parameter should be allowed
- define deployment.jvm.arguments.whitelist=-Dawt.useSystemAAFontSettings\=lcd in my user specific deployment.properties under .confg/icead-tea and set/export the property as an environment variable using _JAVA_OPTIONS, JAVA_TOOL_OPTIONS or JAVAWS_WM_ARGS
In none of these cases did the command line shown in ps contain my java option.
Are there any additional resources listing the available deployment.properties? Is there another combination I should use? If you require any more information please let me know.
I want to pass some jvm args to a program started via jnlp. I am using OWS 1.13.0 on Ubuntu. I spent a few hours searching for a way to do this and came across different combinations of the same building blocks but got none of them working, so I hope someone here can give me a pointer.
In my specific case I want to pass -Dawt.useSystemAAFontSettings=lcd to the program. I tried the following things:
- add the property to javaws.vmoptions but this seems to only be applied to the launcher and the actual jvm/program itself
- define a global deployment.properties to define additional parameters there, the file gets read but all properties suggested to me by online search and AI bots were not recognized by OWS (logs say the property key is unknown). So maybe I would only need to find the proper key to use here to specify the above option as value. I also did add deployment.jvm.arguments.whitelist=-Dawt.useSystemAAFontSettings\=lcd to the properties file so the parameter should be allowed
- define deployment.jvm.arguments.whitelist=-Dawt.useSystemAAFontSettings\=lcd in my user specific deployment.properties under .confg/icead-tea and set/export the property as an environment variable using _JAVA_OPTIONS, JAVA_TOOL_OPTIONS or JAVAWS_WM_ARGS
In none of these cases did the command line shown in ps contain my java option.
Are there any additional resources listing the available deployment.properties? Is there another combination I should use? If you require any more information please let me know.