Any java
command line that starts the
application must contain the
following options:
Example:
%JAVA_HOME%/bin/java.exe -noverify -Xms64M -Xmx256M
-javaagent:lib/PackAgent.jar
-XX:+DisableAttachMechanism
-Djava.library.path=./lib -Dappl.starter="xxx.yyy.zzz.MainClass"
-classpath ... xxx.yyy.zzz.MainClass [args]
For jar archives, the
command line must contain the same options except for the
application starter that must be '-Dappl.starter="JarFileName.jar"',
where "JarFileName"
is the name of the jar archive of the application, e.g., %JAVA_HOME%/bin/java.exe -noverify -Xms64M -Xmx256M -javaagent:lib/PackAgent.jar -XX:+DisableAttachMechanism -Djava.library.path=./lib -Dappl.starter="JarFileName.jar" -jar JarFileName.jar
|