capint
2/14/2017 - 10:49 AM

JVM >> VM arguments

JVM >> VM arguments

E.g. : In maven we use maven_opts to pass parameters to the Java VM like this: set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000

-D (stands for define) option is used to send the java system property
-X (stands for eXtension) "X" parameter is vendor-specific. It isn't guaranteed to be available on all JVM