More Info: How to Fix the Could Not Create the Java Virtual Machine Error
Need Help? Click here for more information on How to Fix the Could Not Create the Java Virtual Machine Error.
Need Help? Click here for more information on How to Fix the Could Not Create the Java Virtual Machine Error.
Distro: Linux Mint 18.2
DE: Cinnamon 3.4.6
Java Version: openjdk-8-jre (8u131-b11-2ubuntu1.16.04.3)
I know for a fact Minecraft will run on this computer because it has done it before, but it has never done this.
Every time I open the launcher, it opens. The problem is that Minecraft will crash the minute I press play. No crash report exists, nor does the folder exist. I have tried deleting the .minecraft folder and restarting the installation, but to no ado. I have tried reinstalling the package, and also reinstalling openjdk-8-jre. Neither has worked.
I decided to run the minecraft-launcher through terminal, and this is the only output I could find that was worth mentioning:
What do I do?
Not sure where to put your blocks? Same.
I figured out the problem.
Minecraft was using my development kit of java 9.
All I did was uninstall java 9 for the time being, and reinstalled java 8.
And tada! It works!
Relaunch Minecraft and you are good to go.
Not sure where to put your blocks? Same.
@VentheDragon well, Do Minecraft not support for Java 9 (or Java 9 not support for Minecraft)? I have the same situationon on Win 7 with Java 9, and cannot find anything about that.
Minecraft is supported by Java 8 as far as I know, and not Java 9.
You can install Java 8 side-by-side with Java 9 and still run minecraft. Just enable Advance options in the menu and then set a custom Java path to the correct version (8). I however, was too lazy to do this as it requires a little bit more effort on Linux.
Not sure where to put your blocks? Same.
Ven, I am surprised that you seem content with openjdk. Oracle Java works significantly better on Linux for minecraft than openjdk. There are a couple ways to easily install Oracle Java 8.
by PPA (it updates itself):
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
manually (you update it regularly):
https://sites.google.com/site/easylinuxtipsproject/java
minecraft on consoles, and pc java minecraft on linux.
I have since switched to Fedora, but thanks for the info anyway.
I have already installed Oracle Java on Fedora, so I have noticed a slight improvement.
Not sure where to put your blocks? Same.