Tag Archives: java technology

How to Solve FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE

I. Error reporting Experience:
Today, while using Eclipse to launch through Maven Build, an error occurred as shown below
II. Analysis of problems:
This is due to the fact that eclipse’s JRE is not configured
Iii. Problem Solving:
Step1 reconfigure the jre for eclipse
Open Window- Preferences- Java- Installed JREs, as shown in the figure below:

Step2 configure the JRE for maven build
Right-click on the project, and select Run As–Run Configurations:
Add the following code to the JRE TAB (modify the values based on your computer) :
-DMAVEN_OPTS=-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M
As shown in the figure:

Iv. Startup:
Finally, you’re ready to start:

OK, GAME OVER !

Successful solution of eclipse startup error Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred

Error reporting process

Today, after opening eclipse, the following error occurred

problem analysis

The system is reinstalled on the computer, and then Java is also reinstalled. Useless files are generated in the computer’s C: [windows] system32, as shown in the following figure:

Problem solving

Just delete the three files above

OK, GAME OVER !

More wonderful content please pay attention to: the road of Java master

Reply to “java project” and get the following video tutorial for free