I am launching a Java application with the following command line arguments:
java -Dcom.sun.management.jmxremote.port=12312 \ -Dcom.sun.management.jmxremote.rmi.port=12313 \ -Dcom.sun.management.jmxremote.authenticate=false \ Main
My program will exit immediately and I get the following error:
Error: Agent exception raised: java.lang.NullPointerException
I am using Java 8 update on Windows 7:
java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
java
K Erlandsson
source share