JDK Crash when attempting to run Minecraft on Ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question


























    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?







    share|improve this question
























      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?







      share|improve this question














      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?









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 1 at 8:32









      Zanna

      48k13119227




      48k13119227










      asked Apr 27 at 3:20









      xEth0sx

      193




      193




















          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)






          share|improve this answer



























            up vote
            2
            down vote













            Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.






            share|improve this answer
















            • 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


















            up vote
            1
            down vote













            Type




            sudo snap install minecraft




            in the terminal to install it. No need to go through JDK/JVM hassle.






            share|improve this answer






















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "89"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              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






























              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)






              share|improve this answer
























                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)






                share|improve this answer






















                  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)






                  share|improve this answer












                  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)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 7 at 19:50









                  Boba Fit

                  36019




                  36019






















                      up vote
                      2
                      down vote













                      Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.






                      share|improve this answer
















                      • 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















                      up vote
                      2
                      down vote













                      Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.






                      share|improve this answer
















                      • 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













                      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.






                      share|improve this answer












                      Replace openjdk-jre-11 with openjdk-jre-8. Minecraft will not run on newer java versions.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      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













                      • 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











                      up vote
                      1
                      down vote













                      Type




                      sudo snap install minecraft




                      in the terminal to install it. No need to go through JDK/JVM hassle.






                      share|improve this answer


























                        up vote
                        1
                        down vote













                        Type




                        sudo snap install minecraft




                        in the terminal to install it. No need to go through JDK/JVM hassle.






                        share|improve this answer
























                          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.






                          share|improve this answer














                          Type




                          sudo snap install minecraft




                          in the terminal to install it. No need to go through JDK/JVM hassle.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited May 2 at 20:00

























                          answered May 2 at 19:30









                          HattinGokbori87

                          491112




                          491112



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              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













































































                              Popular posts from this blog

                              Trouble downloading packages list due to a “Hash sum mismatch” error

                              How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                              How do I move numbers in filenames, in a batch renaming operation?