jdk1.6与Myeclipse的冲突造成的

出现这样的错误时:ERROR:JDWP   Unable   to   get   JNI   1.2   environment   ,jvm-> GetEvn()   return   =-2 
JDWP   exit   error   AGENT_ERROR_NO_JNI_ENV(183):[../../../src/share/back/until.c:820]

我是这样解决的:

直接在主函数后面加上System.exit(0);

posted @ 2016-09-19 20:03  知晓的老巢  阅读(257)  评论(0编辑  收藏  举报