Results 1 to 3 of 3

Thread: error debug

  1. #1
    stid is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default error debug

    Hi,

    I obtain the next error when I try debug the code and it is stoped.

    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]
    Can you help me, please?
    Thank you very much

    cordial greetings.
    stid

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    You've probably hit a bug. See if the System.exit(0) trick works for you.

  3. #3
    stid is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default

    thank you very much.
    Its the solution.

    cordial greetings.
    stid

Similar Threads

  1. Debug challenge: how do you debug a Java program?
    By CJSLMAN in forum New To Java
    Replies: 60
    Last Post: 07-04-2009, 10:28 AM
  2. Cannot debug on Eclipse.. and other IDE
    By pexlee in forum Eclipse
    Replies: 0
    Last Post: 09-26-2008, 05:07 PM
  3. Cannot debug in NetBeans as well as other IDE
    By pexlee in forum NetBeans
    Replies: 0
    Last Post: 09-26-2008, 04:45 PM
  4. Error logged from JDT Debug UI Window
    By tsc in forum Eclipse
    Replies: 1
    Last Post: 07-10-2008, 08:37 AM
  5. how to debug the servlet
    By tommy in forum Java Servlet
    Replies: 1
    Last Post: 08-06-2007, 08:53 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •