Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does this error mean in Eclipse when debugging? [duplicate]

Tags:

java

eclipse

When I try to debug this error is reported:

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]

like image 629
Ashley Avatar asked Jan 19 '23 08:01

Ashley


1 Answers

Put System.exit(0); as the last statement of main().

like image 120
pramod Avatar answered Feb 07 '23 19:02

pramod