Is there a way through the jnlp file to set up an environment variable? I want to set JAVA_TOOL_OPTIONS to do some LTW with aspectj.
thanks
In the JNLP resources section, you can add any number of nodes propertyafter your cans. They then become equivalent to the -D option on the command line.
property
<resources> <j2se... <jar href="... <property name="env0" value="value0"/> <property name="env1" value="value1"/> <property name="env2" value="value2"/> </resources>
I think your best bet is to set the client-side variable before running the java web start.
There are ways to pass JVM parameters, if there is a JVM parameter that will do what you want - I'm not sure what JAVA_TOOL_OPTIONS does.
Java, Java "". Runtime Parameters JRE :
-javaagent=c:\MyAgent.jar
MyAgent.jar.
Java.
It is currently not possible to install javaagent via webstart. This does not allow us to use load time in time using the webstart application. We will return to compilation of time again.
Source: https://habr.com/ru/post/1711219/More articles:Enabling macro value "DEBUG" - iphoneSelf-Factory Template - c ++How to create multi-agent clock-driven simulation - scalaHow to implement the OpenGL zoom function - zoomHow to get around the lack of an add button in ABPeoplePickerNavigationController? - iphoneQuickly generate random numbers that seem random - language-agnosticUses * is this a good idea? - c ++How to find a database file on an Android virtual device? - androidhow to mask the "upper half" of a long int - cWhat is the most useful way to document technology solution evaluations for business tasks? - templatesAll Articles