After downloading the latest launcher from Minecraft.net I had to run the command
java -jar ~/Downloads/Minecraft.jar
in a terminal to run the launcher.
However, here is where my issue resides.
After running the command through the terminal, the launcher opens and spits out these string of errors.
Bootstrap (v5) Current time is Jun 7, 2018, 5:48:36 PM System.getProperty('os.name') == 'Linux' System.getProperty('os.version') == '4.15.0-22-generic' System.getProperty('os.arch') == 'amd64' System.getProperty('java.version') == '10.0.1' System.getProperty('java.vendor') == 'Oracle Corporation' System.getProperty('sun.arch.data.model') == '64
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 2/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 3/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 4/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 5/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 6/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 7/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 8/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 9/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 10/10) Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Unable to download remote file. Check your internet connection/proxy settings. FATAL ERROR: net.minecraft.bootstrap.FatalBootstrapError: Unable to download while being forced at net.minecraft.bootstrap.Bootstrap.execute(Bootstrap.java:95) at net.minecraft.bootstrap.Bootstrap.main(Bootstrap.java:381)
Please fix the error and restart.
So after looking at these errors I've noticed that the launcher, after attempting to download information from the web, seems to have an issue where "the trustAnchors parameter must be non-empty"... whatever that means! And after trying to download this information, it tells me that it is "Unable to download remote file. Check your internet connection/proxy settings."
I know there is no sort of firewall or issue with my network/web connection, as I'm able to post this to the forums...
Perhaps there is some sort of issue with the launcher not being able to work with the java version I have installed? Or maybe something else entirely!
Anyways, I'd hope for some sort of help understanding what's going on here and also a solution to this mess.
Rollback Post to RevisionRollBack
You are stronger than the collected strength of an infinite amount of quitters.
The log claims that I have Java 10.0.1 installed, so I am wondering how to get rid of this version... I know that once I have Java uninstalled I can reinstall Java version 8 via their website. But again, I don't know how to uninstall version 10.0.1 .
Rollback Post to RevisionRollBack
You are stronger than the collected strength of an infinite amount of quitters.
I take that back, the launcher starts but the game will not run. Upon starting a game in the launcher, the game never actually runs and instead in the log replies:
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.
This is highly frustrating.
Rollback Post to RevisionRollBack
You are stronger than the collected strength of an infinite amount of quitters.
So, I can install any of those Java versions listed with those commands. You'd think I'd want to install the version that is literally named openjdk-8-jre-headless, right?
So I do that. I run the command sudo apt install openjdk-8-jre-headless.
And after installing a version of Java that is version eight I run the launcher.
cd ~/Downloads
java -jar Minecraft.jar
And whaddayaknow?! openjdk-8-jre-headless doesn't run!
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886) at java.awt.Window.getToolkit(Window.java:1358) at java.awt.Window.init(Window.java:506) at java.awt.Window.<init>(Window.java:537) at java.awt.Frame.<init>(Frame.java:420) at javax.swing.JFrame.<init>(JFrame.java:233) at net.minecraft.bootstrap.Bootstrap.<init>(Bootstrap.java:45) at net.minecraft.bootstrap.Bootstrap.main(Bootstrap.java:378)
I have to install OpenJDK and not OpenJDK headless because (as I have learned by screwing things up) OpenJDK-headless is basically like a server version designed to run without a GUI and the non-headless version can run a GUI. I always wondered what the difference was between the headless and non-headless but this wasn't the way I was intending to learn the difference.
sudo apt-get remove openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre
Let's try to run the launcher now.
java -jar ~/Downloads/Minecraft.jar
It finally worked.
A window titled "Minecraft Launcher 1.6.89-j" is now running right before my eyes.
I log in.
I click on that "Play" button at the bottom of the launcher, ready to play Minecraft 1.12.2.
And the launcher freezes on "Looking for old natives & assets to clean up..."
No hard drive activity. No network activity. Nothing.
Just to make sure, I leave the launcher sitting for a little more than an hour.
After checking back, I realise that nothing has changed. I'm a little less frustrated than before, so I can think a bit more clearly. I decide to check the Launcher log.
[17:20:24 INFO]: Minecraft Launcher 1.6.89-j (through bootstrap 5) started on linux... [17:20:24 INFO]: Current time is Jun 10, 2018, 5:20:24 PM [17:20:24 INFO]: System.getProperty('os.name') == 'Linux' [17:20:24 INFO]: System.getProperty('os.version') == '4.15.0-22-generic' [17:20:24 INFO]: System.getProperty('os.arch') == 'amd64' [17:20:24 INFO]: System.getProperty('java.version') == '10.0.1' [17:20:24 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation' [17:20:24 INFO]: System.getProperty('sun.arch.data.model') == '64' [17:20:24 INFO]: proxy == DIRECT [17:20:25 INFO]: Refreshing local version list... [17:20:25 INFO]: Refreshing remote version list... [17:20:25 INFO]: Refresh complete. [17:20:26 INFO]: Loaded 0 profile(s); selected '(Default)' [17:24:45 INFO]: Logging in with username & password [17:26:08 INFO]: Getting syncinfo for selected version [17:26:08 INFO]: Queueing library & version downloads
Here's where the launcher displays the downloading of all the information... I'll spare you from having to read all of that and I'll skip towards the end of the log notes.
[17:27:11 INFO]: Job 'Resources' finished successfully (took 0:01:01.476) [17:27:11 INFO]: Launching game [17:27:11 INFO]: Unpacking natives to /home/tamber/.minecraft/versions/1.12.2/1.12.2-natives-4183628703359 [17:27:11 INFO]: Launching in /home/tamber/.minecraft [17:27:11 INFO]: Half command: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Djava.library.path=/home/tamber/.minecraft/versions/1.12.2/1.12.2-natives-4183628703359 -Dminecraft.launcher.brand=java-minecraft-launcher -Dminecraft.launcher.version=1.6.89-j -Dminecraft.client.jar=/home/tamber/.minecraft/versions/1.12.2/1.12.2.jar -cp /home/tamber/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.jar:/home/tamber/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/home/tamber/.minecraft/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar:/home/tamber/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/home/tamber/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/home/tamber/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/tamber/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/tamber/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/tamber/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/tamber/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/tamber/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/tamber/.minecraft/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar:/home/tamber/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/home/tamber/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/home/tamber/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/tamber/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/home/tamber/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/tamber/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/tamber/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar:/home/tamber/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/home/tamber/.minecraft/libraries/com/mojang/realms/1.10.21/realms-1.10.21.jar:/home/tamber/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/home/tamber/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/home/tamber/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/tamber/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/tamber/.minecraft/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar:/home/tamber/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/tamber/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar:/home/tamber/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/home/tamber/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/home/tamber/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/home/tamber/.minecraft/versions/1.12.2/1.12.2.jar net.minecraft.client.main.Main [17:27:11 ERROR]: Game ended with bad state (exit code 1) [17:27:11 INFO]: Ignoring visibility rule and showing launcher due to a game crash [17:27:11 INFO]: Deleting /home/tamber/.minecraft/versions/1.12.2/1.12.2-natives-4183628703359 [17:27:11 INFO]: Looking for orphaned versions to clean up... [17:27:11 ERROR]: Game ended with bad state (exit code 1) [17:27:11 INFO]: Ignoring visibility rule and showing launcher due to a game crash [17:27:11 INFO]: Looking for old natives & assets to clean up...
Rollback Post to RevisionRollBack
You are stronger than the collected strength of an infinite amount of quitters.
The launcher ran like normal when I hit "Play" but at the end of it (by it I mean these launcher logs) there is a note that says "[17:27:11 ERROR]: Game ended with bad state (exit code 1)", whatever that means (it's not very descriptive...). It says the same message not long after and stops on "Looking for old natives & assets to clean up...". Just like I said before, where the game stops on "Looking for old natives & assets to clean up...".
I noticed at the beginning of the log it says "[17:20:24 INFO]: System.getProperty('java.version') == '10.0.1'".
I'm nearly through with this.
Why is there a 10.0.1 version of Java when I very cleary installed openjdk-8-jre! There wasn't even an option to install Java 10.0.1 in the list when I ran java -version and the list showed
Only showing versions 8, 9, and 11! The one version that isn't displayed there is the one that I have installed when I very clearly ran a command dedicated to version 8.
<sigh>
To people who know more about what to do:
Please help.
Rollback Post to RevisionRollBack
You are stronger than the collected strength of an infinite amount of quitters.
Note: to make things a trillion times easier just run a snap version of Minecraft.
Run a command in your terminal:
sudo snap install minecraft
And then after it is done installing then run in a terminal (you can even use the same one you used to install it if you want to):
minecraft
And, like some sort of Disney movie magic, the launcher runs and now can play Minecraft.
Yes, it was frustrating to have to do all of the above things I had to do during this thread, but it was also frustrating how simple the answer was (or at least the one I have seem to have found). Don't get me wrong, I'm thankful I got an answer at all but couldn't I have found this out sooner? Argh.
Anyways, here's a solution.
Thanks for trying to help.
Rollback Post to RevisionRollBack
You are stronger than the collected strength of an infinite amount of quitters.
To post a comment, please login or register a new account.
After downloading the latest launcher from Minecraft.net I had to run the command
java -jar ~/Downloads/Minecraft.jar
in a terminal to run the launcher.
However, here is where my issue resides.
After running the command through the terminal, the launcher opens and spits out these string of errors.
Bootstrap (v5)
Current time is Jun 7, 2018, 5:48:36 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '4.15.0-22-generic'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '10.0.1'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '64
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 2/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 3/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 4/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 5/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 6/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 7/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 8/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 9/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 10/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Unable to download remote file. Check your internet connection/proxy settings.
FATAL ERROR: net.minecraft.bootstrap.FatalBootstrapError: Unable to download while being forced
at net.minecraft.bootstrap.Bootstrap.execute(Bootstrap.java:95)
at net.minecraft.bootstrap.Bootstrap.main(Bootstrap.java:381)
Please fix the error and restart.
So after looking at these errors I've noticed that the launcher, after attempting to download information from the web, seems to have an issue where "the trustAnchors parameter must be non-empty"... whatever that means! And after trying to download this information, it tells me that it is "Unable to download remote file. Check your internet connection/proxy settings."
I know there is no sort of firewall or issue with my network/web connection, as I'm able to post this to the forums...
Perhaps there is some sort of issue with the launcher not being able to work with the java version I have installed? Or maybe something else entirely!
Anyways, I'd hope for some sort of help understanding what's going on here and also a solution to this mess.
You are stronger than the collected strength of an infinite amount of quitters.
Use Java 8.
The log claims that I have Java 10.0.1 installed, so I am wondering how to get rid of this version... I know that once I have Java uninstalled I can reinstall Java version 8 via their website. But again, I don't know how to uninstall version 10.0.1 .
You are stronger than the collected strength of an infinite amount of quitters.
Sorry, not a Linux user, try Google?
Okay, I seem to have found a solution and I'll post it here for anyone else who may be having the same problem as me.
First we're going to have to purge Java from the system with the following commands:
________________________________________________________________________________________________
dpkg-query -W -f='${binary:Package}\n' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e '^gcj-(.*)-j(re|dk)' -e '^java-common' | xargs sudo apt-get -y remov
sudo apt-get -y autoremove
dpkg -l | grep ^rc | awk '{print($2)}' | xargs sudo apt-get -y purge
sudo bash -c 'ls -d /home/*/.java' | xargs sudo rm -rf
sudo rm -rf /usr/lib/jvm/*
for g in ControlPanel java java_vm javaws jcontrol jexec keytool mozilla-javaplugin.so orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200 appletviewer apt extcheck HtmlConverter idlj jar jarsigner javac javadoc javah javap jconsole jdb jhat jinfo jmap jps jrunscript jsadebugd jstack jstat jstatd native2ascii rmic schemagen serialver wsgen wsimport xjc xulrunner-1.9-javaplugin.so; do sudo update alternatives --remove-all $g; done
sudo updatedb
sudo locate -b '\pack200'
________________________________________________________________________________________________
If that last command "sudo locate b- '\pack200'" displays an output such as this:
/path/to/jre1.6.0_34/bin/pack200
then you'll have to remove the drectory that's the parent of bin, perhaps by using some sort of command similar to this:
sudo rm -rf /path/to/jre1.6.0_34
________________________________________________________________________________________________
Then we'll have to reinstall a Java version that works with Minecraft's Launcher:
sudo apt install openjdk-11-jre-headless
________________________________________________________________________________________________
After installing that, then we can start the launcher by navigating to wherever the launcher is (in my case, in the Downloads folder)
cd ~/Downloads
Then we can run one final command to start the launcher:
java -jar Minecraft.jar
________________________________________________________________________________________________
After logging in we can actually start a world and play like normal!
You are stronger than the collected strength of an infinite amount of quitters.
I take that back, the launcher starts but the game will not run. Upon starting a game in the launcher, the game never actually runs and instead in the log replies:
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.
This is highly frustrating.
You are stronger than the collected strength of an infinite amount of quitters.
"Then we'll have to reinstall a Java version that works[/i] with Minecraft's Launcher:
sudo apt install openjdk-11-jre-headless"
Which part of "use Java 8" was not clear? MC won't run on anything newer!
Okay, fine.
After reinstalling on a separate OS with no versions of Java (whether OpenJDK or proprietary) installed here's what happens.
Step One: Download the launcher from Minecraft.net
Step Two: Open Terminal and run the command
java -version
Just for giggles. And as expected, the Terminal tells me that:
Command 'java' not found, but can be installed with:
sudo apt install default-jre
sudo apt install openjdk-11-jre-headless
sudo apt install openjdk-8-jre-headless
sudo apt install openjdk-9-jre-headless
So, I can install any of those Java versions listed with those commands. You'd think I'd want to install the version that is literally named openjdk-8-jre-headless, right?
So I do that. I run the command sudo apt install openjdk-8-jre-headless.
And after installing a version of Java that is version eight I run the launcher.
cd ~/Downloads
java -jar Minecraft.jar
And whaddayaknow?! openjdk-8-jre-headless doesn't run!
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
at java.awt.Window.getToolkit(Window.java:1358)
at java.awt.Window.init(Window.java:506)
at java.awt.Window.<init>(Window.java:537)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:233)
at net.minecraft.bootstrap.Bootstrap.<init>(Bootstrap.java:45)
at net.minecraft.bootstrap.Bootstrap.main(Bootstrap.java:378)
I have to install OpenJDK and not OpenJDK headless because (as I have learned by screwing things up) OpenJDK-headless is basically like a server version designed to run without a GUI and the non-headless version can run a GUI. I always wondered what the difference was between the headless and non-headless but this wasn't the way I was intending to learn the difference.
sudo apt-get remove openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre
Let's try to run the launcher now.
java -jar ~/Downloads/Minecraft.jar
It finally worked.
A window titled "Minecraft Launcher 1.6.89-j" is now running right before my eyes.
I log in.
I click on that "Play" button at the bottom of the launcher, ready to play Minecraft 1.12.2.
And the launcher freezes on "Looking for old natives & assets to clean up..."
No hard drive activity. No network activity. Nothing.
Just to make sure, I leave the launcher sitting for a little more than an hour.
After checking back, I realise that nothing has changed. I'm a little less frustrated than before, so I can think a bit more clearly. I decide to check the Launcher log.
You are stronger than the collected strength of an infinite amount of quitters.
Post the entire launcher log and game output if available
[17:20:24 INFO]: Minecraft Launcher 1.6.89-j (through bootstrap 5) started on linux...
[17:20:24 INFO]: Current time is Jun 10, 2018, 5:20:24 PM
[17:20:24 INFO]: System.getProperty('os.name') == 'Linux'
[17:20:24 INFO]: System.getProperty('os.version') == '4.15.0-22-generic'
[17:20:24 INFO]: System.getProperty('os.arch') == 'amd64'
[17:20:24 INFO]: System.getProperty('java.version') == '10.0.1'
[17:20:24 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[17:20:24 INFO]: System.getProperty('sun.arch.data.model') == '64'
[17:20:24 INFO]: proxy == DIRECT
[17:20:25 INFO]: Refreshing local version list...
[17:20:25 INFO]: Refreshing remote version list...
[17:20:25 INFO]: Refresh complete.
[17:20:26 INFO]: Loaded 0 profile(s); selected '(Default)'
[17:24:45 INFO]: Logging in with username & password
[17:26:08 INFO]: Getting syncinfo for selected version
[17:26:08 INFO]: Queueing library & version downloads
Here's where the launcher displays the downloading of all the information... I'll spare you from having to read all of that and I'll skip towards the end of the log notes.
[17:27:11 INFO]: Job 'Resources' finished successfully (took 0:01:01.476)
[17:27:11 INFO]: Launching game
[17:27:11 INFO]: Unpacking natives to /home/tamber/.minecraft/versions/1.12.2/1.12.2-natives-4183628703359
[17:27:11 INFO]: Launching in /home/tamber/.minecraft
[17:27:11 INFO]: Half command: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Djava.library.path=/home/tamber/.minecraft/versions/1.12.2/1.12.2-natives-4183628703359 -Dminecraft.launcher.brand=java-minecraft-launcher -Dminecraft.launcher.version=1.6.89-j -Dminecraft.client.jar=/home/tamber/.minecraft/versions/1.12.2/1.12.2.jar -cp /home/tamber/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.jar:/home/tamber/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/home/tamber/.minecraft/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar:/home/tamber/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/home/tamber/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/home/tamber/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/tamber/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/tamber/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/tamber/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/tamber/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/tamber/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/tamber/.minecraft/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar:/home/tamber/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/home/tamber/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/home/tamber/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/tamber/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/home/tamber/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/tamber/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/tamber/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar:/home/tamber/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/home/tamber/.minecraft/libraries/com/mojang/realms/1.10.21/realms-1.10.21.jar:/home/tamber/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/home/tamber/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/home/tamber/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/tamber/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/tamber/.minecraft/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar:/home/tamber/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/tamber/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar:/home/tamber/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/home/tamber/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/home/tamber/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/home/tamber/.minecraft/versions/1.12.2/1.12.2.jar net.minecraft.client.main.Main
[17:27:11 ERROR]: Game ended with bad state (exit code 1)
[17:27:11 INFO]: Ignoring visibility rule and showing launcher due to a game crash
[17:27:11 INFO]: Deleting /home/tamber/.minecraft/versions/1.12.2/1.12.2-natives-4183628703359
[17:27:11 INFO]: Looking for orphaned versions to clean up...
[17:27:11 ERROR]: Game ended with bad state (exit code 1)
[17:27:11 INFO]: Ignoring visibility rule and showing launcher due to a game crash
[17:27:11 INFO]: Looking for old natives & assets to clean up...
You are stronger than the collected strength of an infinite amount of quitters.
The launcher ran like normal when I hit "Play" but at the end of it (by it I mean these launcher logs) there is a note that says "[17:27:11 ERROR]: Game ended with bad state (exit code 1)", whatever that means (it's not very descriptive...). It says the same message not long after and stops on "Looking for old natives & assets to clean up...". Just like I said before, where the game stops on "Looking for old natives & assets to clean up...".
I noticed at the beginning of the log it says "[17:20:24 INFO]: System.getProperty('java.version') == '10.0.1'".
I'm nearly through with this.
Why is there a 10.0.1 version of Java when I very cleary installed openjdk-8-jre! There wasn't even an option to install Java 10.0.1 in the list when I ran java -version and the list showed
sudo apt install default-jre
sudo apt install openjdk-11-jre-headless
sudo apt install openjdk-8-jre-headless
sudo apt install openjdk-9-jre-headless
Only showing versions 8, 9, and 11! The one version that isn't displayed there is the one that I have installed when I very clearly ran a command dedicated to version 8.
<sigh>
To people who know more about what to do:
Please help.
You are stronger than the collected strength of an infinite amount of quitters.
Note: to make things a trillion times easier just run a snap version of Minecraft.
Run a command in your terminal:
sudo snap install minecraft
And then after it is done installing then run in a terminal (you can even use the same one you used to install it if you want to):
minecraft
And, like some sort of Disney movie magic, the launcher runs and now can play Minecraft.
Yes, it was frustrating to have to do all of the above things I had to do during this thread, but it was also frustrating how simple the answer was (or at least the one I have seem to have found). Don't get me wrong, I'm thankful I got an answer at all but couldn't I have found this out sooner? Argh.
Anyways, here's a solution.
Thanks for trying to help.
You are stronger than the collected strength of an infinite amount of quitters.