JDK Crash when attempting to run Minecraft on Ubuntu 18.04

Clash Royale CLAN TAG#URR8PPP up vote
3
down vote
favorite
Trying to install Minecraft on 18.04 and I get the following error.
OpenJDK 64-Bit Server VM warning:
Option UseConcMarkSweepGC was deprecated in version 9.0
and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Any suggestions?
java games jdk openjdk minecraft
add a comment |Â
up vote
3
down vote
favorite
Trying to install Minecraft on 18.04 and I get the following error.
OpenJDK 64-Bit Server VM warning:
Option UseConcMarkSweepGC was deprecated in version 9.0
and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Any suggestions?
java games jdk openjdk minecraft
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Trying to install Minecraft on 18.04 and I get the following error.
OpenJDK 64-Bit Server VM warning:
Option UseConcMarkSweepGC was deprecated in version 9.0
and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Any suggestions?
java games jdk openjdk minecraft
Trying to install Minecraft on 18.04 and I get the following error.
OpenJDK 64-Bit Server VM warning:
Option UseConcMarkSweepGC was deprecated in version 9.0
and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Any suggestions?
java games jdk openjdk minecraft
edited May 1 at 8:32
Zanna
48k13119227
48k13119227
asked Apr 27 at 3:20
xEth0sx
193
193
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
3
down vote
I edited my profile. I changed the JVM Arguments from
-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
to
-Xmx1G -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -Xmn128M
Then Minecraft worked for me.
(I got the Idea from: JVM errors when running minecraft)
add a comment |Â
up vote
2
down vote
Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.
1
While this may be the case, the OP did not say that were using Java 8 or higher. Also, Java 11 does not exist yet.
â ubashu
Apr 30 at 20:39
@ubashu Despite the weird nomenclature the openjdk-11-jdk package exists in Ubuntu 18.04.
â karel
May 1 at 0:09
@karel Why is this?
â ubashu
May 1 at 6:08
It was explained to me in a blog that I forgot which blog it was that Ubuntu 18.04 will launch a new openjdk-10-jdk package when it becomes available, so it can't use openjdk-10-jdk as a package name because that package name has already been reserved.
â karel
May 1 at 6:11
You can add that as well mod's for minecraft are made using java 8, beside that this answer is right and java jre/jdk 8 can be installed alongside the default java 10.0.1 on Ubuntu 18.04 LTS. It is enough to have the launcher profile use java 8 to start minecraft, starting the launcher with java 10 is no problem at all.
â Videonauth
May 2 at 20:03
add a comment |Â
up vote
1
down vote
Type
sudo snap install minecraft
in the terminal to install it. No need to go through JDK/JVM hassle.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
I edited my profile. I changed the JVM Arguments from
-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
to
-Xmx1G -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -Xmn128M
Then Minecraft worked for me.
(I got the Idea from: JVM errors when running minecraft)
add a comment |Â
up vote
3
down vote
I edited my profile. I changed the JVM Arguments from
-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
to
-Xmx1G -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -Xmn128M
Then Minecraft worked for me.
(I got the Idea from: JVM errors when running minecraft)
add a comment |Â
up vote
3
down vote
up vote
3
down vote
I edited my profile. I changed the JVM Arguments from
-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
to
-Xmx1G -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -Xmn128M
Then Minecraft worked for me.
(I got the Idea from: JVM errors when running minecraft)
I edited my profile. I changed the JVM Arguments from
-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
to
-Xmx1G -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -Xmn128M
Then Minecraft worked for me.
(I got the Idea from: JVM errors when running minecraft)
answered May 7 at 19:50
Boba Fit
36019
36019
add a comment |Â
add a comment |Â
up vote
2
down vote
Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.
1
While this may be the case, the OP did not say that were using Java 8 or higher. Also, Java 11 does not exist yet.
â ubashu
Apr 30 at 20:39
@ubashu Despite the weird nomenclature the openjdk-11-jdk package exists in Ubuntu 18.04.
â karel
May 1 at 0:09
@karel Why is this?
â ubashu
May 1 at 6:08
It was explained to me in a blog that I forgot which blog it was that Ubuntu 18.04 will launch a new openjdk-10-jdk package when it becomes available, so it can't use openjdk-10-jdk as a package name because that package name has already been reserved.
â karel
May 1 at 6:11
You can add that as well mod's for minecraft are made using java 8, beside that this answer is right and java jre/jdk 8 can be installed alongside the default java 10.0.1 on Ubuntu 18.04 LTS. It is enough to have the launcher profile use java 8 to start minecraft, starting the launcher with java 10 is no problem at all.
â Videonauth
May 2 at 20:03
add a comment |Â
up vote
2
down vote
Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.
1
While this may be the case, the OP did not say that were using Java 8 or higher. Also, Java 11 does not exist yet.
â ubashu
Apr 30 at 20:39
@ubashu Despite the weird nomenclature the openjdk-11-jdk package exists in Ubuntu 18.04.
â karel
May 1 at 0:09
@karel Why is this?
â ubashu
May 1 at 6:08
It was explained to me in a blog that I forgot which blog it was that Ubuntu 18.04 will launch a new openjdk-10-jdk package when it becomes available, so it can't use openjdk-10-jdk as a package name because that package name has already been reserved.
â karel
May 1 at 6:11
You can add that as well mod's for minecraft are made using java 8, beside that this answer is right and java jre/jdk 8 can be installed alongside the default java 10.0.1 on Ubuntu 18.04 LTS. It is enough to have the launcher profile use java 8 to start minecraft, starting the launcher with java 10 is no problem at all.
â Videonauth
May 2 at 20:03
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.
Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.
answered Apr 30 at 18:29
Will Brown
311
311
1
While this may be the case, the OP did not say that were using Java 8 or higher. Also, Java 11 does not exist yet.
â ubashu
Apr 30 at 20:39
@ubashu Despite the weird nomenclature the openjdk-11-jdk package exists in Ubuntu 18.04.
â karel
May 1 at 0:09
@karel Why is this?
â ubashu
May 1 at 6:08
It was explained to me in a blog that I forgot which blog it was that Ubuntu 18.04 will launch a new openjdk-10-jdk package when it becomes available, so it can't use openjdk-10-jdk as a package name because that package name has already been reserved.
â karel
May 1 at 6:11
You can add that as well mod's for minecraft are made using java 8, beside that this answer is right and java jre/jdk 8 can be installed alongside the default java 10.0.1 on Ubuntu 18.04 LTS. It is enough to have the launcher profile use java 8 to start minecraft, starting the launcher with java 10 is no problem at all.
â Videonauth
May 2 at 20:03
add a comment |Â
1
While this may be the case, the OP did not say that were using Java 8 or higher. Also, Java 11 does not exist yet.
â ubashu
Apr 30 at 20:39
@ubashu Despite the weird nomenclature the openjdk-11-jdk package exists in Ubuntu 18.04.
â karel
May 1 at 0:09
@karel Why is this?
â ubashu
May 1 at 6:08
It was explained to me in a blog that I forgot which blog it was that Ubuntu 18.04 will launch a new openjdk-10-jdk package when it becomes available, so it can't use openjdk-10-jdk as a package name because that package name has already been reserved.
â karel
May 1 at 6:11
You can add that as well mod's for minecraft are made using java 8, beside that this answer is right and java jre/jdk 8 can be installed alongside the default java 10.0.1 on Ubuntu 18.04 LTS. It is enough to have the launcher profile use java 8 to start minecraft, starting the launcher with java 10 is no problem at all.
â Videonauth
May 2 at 20:03
1
1
While this may be the case, the OP did not say that were using Java 8 or higher. Also, Java 11 does not exist yet.
â ubashu
Apr 30 at 20:39
While this may be the case, the OP did not say that were using Java 8 or higher. Also, Java 11 does not exist yet.
â ubashu
Apr 30 at 20:39
@ubashu Despite the weird nomenclature the openjdk-11-jdk package exists in Ubuntu 18.04.
â karel
May 1 at 0:09
@ubashu Despite the weird nomenclature the openjdk-11-jdk package exists in Ubuntu 18.04.
â karel
May 1 at 0:09
@karel Why is this?
â ubashu
May 1 at 6:08
@karel Why is this?
â ubashu
May 1 at 6:08
It was explained to me in a blog that I forgot which blog it was that Ubuntu 18.04 will launch a new openjdk-10-jdk package when it becomes available, so it can't use openjdk-10-jdk as a package name because that package name has already been reserved.
â karel
May 1 at 6:11
It was explained to me in a blog that I forgot which blog it was that Ubuntu 18.04 will launch a new openjdk-10-jdk package when it becomes available, so it can't use openjdk-10-jdk as a package name because that package name has already been reserved.
â karel
May 1 at 6:11
You can add that as well mod's for minecraft are made using java 8, beside that this answer is right and java jre/jdk 8 can be installed alongside the default java 10.0.1 on Ubuntu 18.04 LTS. It is enough to have the launcher profile use java 8 to start minecraft, starting the launcher with java 10 is no problem at all.
â Videonauth
May 2 at 20:03
You can add that as well mod's for minecraft are made using java 8, beside that this answer is right and java jre/jdk 8 can be installed alongside the default java 10.0.1 on Ubuntu 18.04 LTS. It is enough to have the launcher profile use java 8 to start minecraft, starting the launcher with java 10 is no problem at all.
â Videonauth
May 2 at 20:03
add a comment |Â
up vote
1
down vote
Type
sudo snap install minecraft
in the terminal to install it. No need to go through JDK/JVM hassle.
add a comment |Â
up vote
1
down vote
Type
sudo snap install minecraft
in the terminal to install it. No need to go through JDK/JVM hassle.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Type
sudo snap install minecraft
in the terminal to install it. No need to go through JDK/JVM hassle.
Type
sudo snap install minecraft
in the terminal to install it. No need to go through JDK/JVM hassle.
edited May 2 at 20:00
answered May 2 at 19:30
HattinGokbori87
491112
491112
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028595%2fjdk-crash-when-attempting-to-run-minecraft-on-ubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password