ERROR: JDWP Unable to get JNI 1.2 environment Just add System.exit(0); to the end of your main method. That’s all you have to do.