SOLVED -Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit

0

The error message Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit normally occurs when you invoke java by typing inĀ  the wrong arguments/options. In this case it should be the version option.

java -version

So to re check you can always do java -help, and see if the option exists. In this case, there is no option such as v.

 

 

Solution

Use the command

java -version

NOT

java -verson

SOLVED -Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit

Share.

About Author

Comments are closed.