|
|
ERROR: JDWP Unable to get JNI 1.2 environment?
I'm running java version "1.6.0_03"Java(TM) SE Runtime Environment (build 1.6.0_03-b05) under NetBeansIDE 6.0 (Build 200711261600), which I believe is the latest version.I get the following error after my programs complete (my programscompile and run without error):ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() returncode = -2JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]Any idea what is causing this, and how I can fix it?Thanks!
|
|
0
|
|
|
|
Reply
|
nooneinparticular314
|
1/28/2008 5:02:54 AM |
|
On Sun, 27 Jan 2008 21:02:54 -0800 (PST),nooneinparticular314159@yahoo.com wrote:> I get the following error after my programs complete (my programs> compile and run without error):>> ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return> code = -2> JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/> util.c:820]Try adding System.exit(0) to your application.That and other suggestions can be found here, which I found bygoogling your error messag: http://forum.java.sun.com/thread.jspa?threadID=5159038It's been reported as a bug too: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476706/gordon--
|
|
0
|
|
|
|
Reply
|
Gordon
|
1/28/2008 7:20:46 AM
|
|
|
1 Replies
747 Views
(page loaded in 0.036 seconds)
|
|
|
|
|
|
|
|
|