JVM Failed to start while installing java

I installed java, and then realized that it was the wrong version, so I tried reinstall Java, but mid installation it said “JVM Failed to start”. I tried to install JDK 1.8.0_221. Any help would be great.

Answer

I found a solution. I installed java, and it gave an error. Then, I changed _JAVA_HOME to
-Xmx2g. That worked. Thanks for the help!

Attribution
Source : Link , Question Author : big papa , Answer Author : big papa

Leave a Comment