failed to get JNI 1.2 environment, JVM ->
ERROR: JDWP is Unable to get JNI 1.2 environment, JVM -> The GetEnv () return code = – 2
the JDWP exit error AGENT_ERROR_NO_JNI_ENV (183) : [… /… /…/SRC/share/back/util. C: 820]
to find the reason for the error. Found a problem with redirecting the output.
is the following is the original network data
install jdk1.6, ha ha ~ I also met this problem. This is something I found on the Internet before. I hope it will be helpful to you.
ERROR: JDWP incapable to get JNI 1.2 environment, JVM -> The GetEnv () return code = – 2
the JDWP exit error AGENT_ERROR_NO_JNI_ENV (183) : [… /… /…/SRC/share/back/util. C: 820]
this is going on?Now Java SE 6 has reached the stage of RC, huh?
after I looked up the Java Doc carefully, I found that there is such a paragraph: http://download.java.net/jdk6/docs/api/java/io/Console.html
“been a virtual machine from a console is dependent upon the physicist platform and also upon the manner in which the virtual machine is invoked. If the virtual machine is started from an interactive command line without redirecting the standard input and
output streams then its console will exist and will typically be connected to the keyboard and display from which the virtual machine was launched. If the virtual machine is started automatically, for example by a background job scheduler, Then it will typically
1, use the command line to run, compile can use the integrated development environment. This completes standard output. 2. Redirect stdout in the program to another device or mode (such as writing to a text file), which can also be “inconvenient” to complete the function. 3. At the end of main function, add system.exit(0);
note:
return and system.exit() what is the difference between:
1. Return is the upper level of the program, system. Exit () is the top level of the program
2
Read More:
- Anaconda create environment, delete environment, activate environment, exit environment
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- The problem of unable to install win32gui in building Anaconda environment in pychar
- ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- Maven Compilation error jdwp on getting class status, jvmtierror = JVMTI_ERROR_WRONG_PHASE(112)
- Failed to load the JNI shared library solution
- Start Eclipse and pop up the “Failed to load the JNI shared library jvm.dll” dialog box
- Error running Eclipse: failed to load the JNI shared library
- JNI calls the add function of list in Java to flash back
- Eclipse reports Failed to load the JNI shared library jvm.dll error solution
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad
- “Error: a JNI error has occurred” and “error of” jvm.cfg To solve the problem
- A JNI error has occurred, please check your installation and try again
- JNI ERROR global reference table overflow [How to Solve]
- Java command line uses a JNI error has occurred, please check your installation and try again
- Mayavi fails to get wglchoosepixelformatarb and other error reporting solutions
- docker service Failed to get D-Bus connection: Operation not permitted
- Forced shutdown of VMware wrokstation error (failed to get exclusive lock on the configuration file —)
- How to use C # to get image format without system. Drawing. Common