How can I pass Java options (like -Xmx1024M or -Ddummy) to the application?

30 views
Skip to first unread message

neunm...@web.de

unread,
Jan 12, 2018, 5:14:37 AM1/12/18
to AjaxSwing Community Support
In application wizard I can set in properties tab
a) the main class
b) the application parameters in application command line
but NOT the application specific Java options like "-Xmx1024M" or "-Dsun.locale.formatasdefault=true" or whatever.

There is no field named Java options. If I add it to the command line it is passed to my main class as argument as discarded.
Is there a configuration property for Java options?

Server OS: Windows 7
AjaxSwing version: 4.5.0
JDK version: 1.8

Michael Marchenko

unread,
Jan 12, 2018, 5:25:06 AM1/12/18
to AjaxSwing Community Support
Hi,

Could you try update bin/setEnv.bat uncomment 24 line with JAVA_OPTS and add opts that you need?

Sincerely, Michael
Reply all
Reply to author
Forward
0 new messages