Java Web Start software allows you to download and run Java applications from the web and is included in the Java Runtime Environment (JRE) since release of Java 5.0. Java Web Start applications are launched by using the Java Network Launch Protocol (JNLP).
To attach the Java Agent, use one of the following approaches:
javaws -J-javaagent:<agent-install-dir>\javaagent.jar <jnlp file>
set JAVA_HOME=C:\Program Files\Java\jre7
set JAVA_TOOL_OPTIONS=-javaagent:<agent-install-dir>\javaagent. jar<JAVA_HOME>\bin\javaws.exe <jnlp file>
grant codeBase "file:${jnlpx.home}/javaws.jar" {
permission java.security.AllPermission;
};
grant {
permission java.security.AllPermission;
};