The Meaning of Life, the Universe, and Everything.
Location:
Missouri
Join Date:
11/25/2015
Posts:
52
Location:
Earth
Minecraft:
Vencorr
PSN:
Dragon-Vencorr
Member Details
I have been trying since last night to get Minecraft to work. At first, I thought it was the whole entire game that wouldn't start, but ended up only being Optifine that was the issue. I cannot seem to figure out why Optifine is not working at all. Not even versions I have confirmed that have worked with Linux before work anymore. Here is my Neofetch:
I have proprietary drivers installed, as well as the AMD microcode. Other games seem to work fine, aswell as other java applications that I have tested.
I am using the official Minecraft Launcher. Not the jar, but the .deb package provided from here by Dinnerbone. I had to do a few things to get it properly working on 18.04, but it runs and works fine afterwards. The only thing that doesn't work is Optifine.
This is the output Optifine gives me in the terminal when running the launcher from there:
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Checking installations.
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Minecraft client 1.12.2-OptiFine_HD_U_D3 is ready to start.
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Starting!
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) debug Nothing to download!
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) debug Extracting 3 files!
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Using default game log configuration client-1.12.xml (outputs XML)
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) debug Installing versions!
[0610/133725:INFO:ClientStarter.cpp(619)] ${natives_directory} == "/tmp/b6f7-94ba-b436-b042"
[0610/133725:INFO:ClientStarter.cpp(619)] ${launcher_name} == "minecraft-launcher"
[0610/133725:INFO:ClientStarter.cpp(619)] ${launcher_version} == "2.0.1009-dev-linux"
[0610/133725:INFO:ClientStarter.cpp(619)] ${primary_jar} == "/Secondary/Games/.minecraft/versions/1.12.2-OptiFine_HD_U_D3/1.12.2-OptiFine_HD_U_D3.jar"
[0610/133725:INFO:ClientStarter.cpp(619)] ${classpath} == "/Secondary/Games/.minecraft/libraries/optifine/OptiFine/1.12.2_HD_U_D3/OptiFine-1.12.2_HD_U_D3.jar:/Secondary/Games/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/Secondary/Games/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.jar:/Secondary/Games/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/Secondary/Games/.minecraft/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar:/Secondary/Games/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/Secondary/Games/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/Secondary/Games/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/Secondary/Games/.minecraft/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar:/Secondary/Games/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/Secondary/Games/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/Secondary/Games/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/Secondary/Games/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/Secondary/Games/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/Secondary/Games/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/Secondary/Games/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar:/Secondary/Games/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/Secondary/Games/.minecraft/libraries/com/mojang/realms/1.10.21/realms-1.10.21.jar:/Secondary/Games/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/Secondary/Games/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/Secondary/Games/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Secondary/Games/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/Secondary/Games/.minecraft/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar:/Secondary/Games/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/Secondary/Games/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar:/Secondary/Games/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/Secondary/Games/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/Secondary/Games/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/Secondary/Games/.minecraft/versions/1.12.2-OptiFine_HD_U_D3/1.12.2-OptiFine_HD_U_D3.jar"
[0610/133725:INFO:ClientStarter.cpp(619)] ${auth_player_name} == "Vencorr"
[0610/133725:INFO:ClientStarter.cpp(619)] ${version_name} == "1.12.2-OptiFine_HD_U_D3"
[0610/133725:INFO:ClientStarter.cpp(619)] ${game_directory} == "/Secondary/Games/.minecraft"
[0610/133725:INFO:ClientStarter.cpp(619)] ${assets_root} == "/Secondary/Games/.minecraft/assets"
[0610/133725:INFO:ClientStarter.cpp(619)] ${assets_index_name} == "1.12"
[0610/133725:INFO:ClientStarter.cpp(619)] ${auth_uuid} == "..."
[0610/133725:INFO:ClientStarter.cpp(619)] ${auth_access_token} == "..."
[0610/133725:INFO:ClientStarter.cpp(619)] ${user_type} == "mojang"
[0610/133725:INFO:ClientStarter.cpp(619)] ${version_type} == "release"
[0610/133725:INFO:LocalVersionProvider.cpp(81)] Looking for installed versions in /Secondary/Games/.minecraft/versions
[0610/133725:WARNING:x11_util.cc(1404)] X error received: serial 265, error_code 182 (GLXBadWindow), request_code 154, minor_code 26 (X_GLXMakeContextCurrent)
[0610/133725:INFO:ClientHandler.cpp(155)] Hiding launcher!
[0610/133725:WARNING:x11_util.cc(1404)] X error received: serial 186, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Process closed with exit code 256
[0610/133725:INFO:ClientHandler.cpp(182)] Creating launcher window.
[0610/133726:WARNING:mainLinux.cpp(24)] X error received: type 0, serial 877, error_code 8, request_code 42, minor_code 0
[0610/133726:WARNING:x11_util.cc(1404)] X error received: serial 295, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
/Secondary/ is my hard drive, as I boot off a small SSD. I have a sym link going from ~/.minecraft to /Secondary/Games/.minecraft since that is where my 'passed around for ages' folder is.
The .jar file won't even allow me to start a game, as it won't even connect to the internet.
1.12.2 and the 1.13 snapshots work fine. I cannot figure out the problem. Is it a missing package, or a conflicting package? Please help.
The Meaning of Life, the Universe, and Everything.
Location:
Missouri
Join Date:
11/25/2015
Posts:
52
Location:
Earth
Minecraft:
Vencorr
PSN:
Dragon-Vencorr
Member Details
Bumping to say that there are no crash reports in the logs folder. Not even the launcher logs have the crash. I would have liked to use the newer launcher, but I might have to run the jar instead and figure out what is wrong with it.
I just found out the problem when trying to make Optifine work on the jar. Seems like it was more of a java problem than Minecraft itself.
Solution: Either you need to uninstall openjdk-11-jre and openjdk-11-jdk in Ubuntu, or reconfigure every one of your profiles with the path for Java 8 if you already have that installed. If you remove openjdk-11*, then you need to use the --reinstall flag with install with openjdk-8* so that it re-configures your java path.
I have been trying since last night to get Minecraft to work. At first, I thought it was the whole entire game that wouldn't start, but ended up only being Optifine that was the issue. I cannot seem to figure out why Optifine is not working at all. Not even versions I have confirmed that have worked with Linux before work anymore. Here is my Neofetch:
% neofetch .-/+oossssoo+/-. [email protected] `:+ssssssssssssssssss+:` ----------------- -+ssssssssssssssssssyyssss+- OS: Ubuntu 18.04 LTS x86_64 .ossssssssssssssssssdMMMNysssso. Kernel: 4.15.0-22-generic /ssssssssssshdmmNNmmyNMMMMhssssss/ Uptime: 4 hours, 26 mins +ssssssssshmydMMMMMMMNddddyssssssss+ Packages: 2827 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Shell: zsh 5.4.2 .ssssssssdMMMNhsssssssssshNMMMdssssssss. Resolution: 1920x1080, 1920x1080 +sssshhhyNMMNyssssssssssssyNMMMysssssss+ DE: KDE ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: KWin ossyNMMMNyMMhsssssssssssssshmmmhssssssso Theme: Breeze Darc Blue [KDE], Breeze [GTK3] +sssshhhyNMMNyssssssssssssyNMMMysssssss+ Icons: Infinity-Clear [KDE], Breeze [GTK3] .ssssssssdMMMNhsssssssssshNMMMdssssssss. Terminal: konsole /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ CPU: AMD A8-7650K Radeon R7 4C+6G (4) @ 3.300GHz +sssssssssdmydMMMMMMMMddddyssssssss+ GPU: AMD Radeon R7 Graphics /ssssssssssshdmNNNNmyNMMMMhssssss/ GPU: NVIDIA GeForce GTX 460 OEM .ossssssssssssssssssdMMMNysssso. Memory: 3921MiB / 7426MiB -+sssssssssssssssssyyyssss+- `:+ssssssssssssssssss+:` .-/+oossssoo+/-.I have proprietary drivers installed, as well as the AMD microcode. Other games seem to work fine, aswell as other java applications that I have tested.
I am using the official Minecraft Launcher. Not the jar, but the .deb package provided from here by Dinnerbone. I had to do a few things to get it properly working on 18.04, but it runs and works fine afterwards. The only thing that doesn't work is Optifine.
This is the output Optifine gives me in the terminal when running the launcher from there:
[0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Checking installations. [0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Minecraft client 1.12.2-OptiFine_HD_U_D3 is ready to start. [0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Starting! [0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) debug Nothing to download! [0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) debug Extracting 3 files! [0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Using default game log configuration client-1.12.xml (outputs XML) [0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) debug Installing versions! [0610/133725:INFO:ClientStarter.cpp(619)] ${natives_directory} == "/tmp/b6f7-94ba-b436-b042" [0610/133725:INFO:ClientStarter.cpp(619)] ${launcher_name} == "minecraft-launcher" [0610/133725:INFO:ClientStarter.cpp(619)] ${launcher_version} == "2.0.1009-dev-linux" [0610/133725:INFO:ClientStarter.cpp(619)] ${primary_jar} == "/Secondary/Games/.minecraft/versions/1.12.2-OptiFine_HD_U_D3/1.12.2-OptiFine_HD_U_D3.jar" [0610/133725:INFO:ClientStarter.cpp(619)] ${classpath} == "/Secondary/Games/.minecraft/libraries/optifine/OptiFine/1.12.2_HD_U_D3/OptiFine-1.12.2_HD_U_D3.jar:/Secondary/Games/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/Secondary/Games/.minecraft/libraries/com/mojang/patchy/1.1/patchy-1.1.jar:/Secondary/Games/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/Secondary/Games/.minecraft/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar:/Secondary/Games/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/Secondary/Games/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/Secondary/Games/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/Secondary/Games/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/Secondary/Games/.minecraft/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar:/Secondary/Games/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/Secondary/Games/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/Secondary/Games/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/Secondary/Games/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/Secondary/Games/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/Secondary/Games/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/Secondary/Games/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar:/Secondary/Games/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/Secondary/Games/.minecraft/libraries/com/mojang/realms/1.10.21/realms-1.10.21.jar:/Secondary/Games/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/Secondary/Games/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/Secondary/Games/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Secondary/Games/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/Secondary/Games/.minecraft/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar:/Secondary/Games/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/Secondary/Games/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar:/Secondary/Games/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/Secondary/Games/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/Secondary/Games/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/Secondary/Games/.minecraft/versions/1.12.2-OptiFine_HD_U_D3/1.12.2-OptiFine_HD_U_D3.jar" [0610/133725:INFO:ClientStarter.cpp(619)] ${auth_player_name} == "Vencorr" [0610/133725:INFO:ClientStarter.cpp(619)] ${version_name} == "1.12.2-OptiFine_HD_U_D3" [0610/133725:INFO:ClientStarter.cpp(619)] ${game_directory} == "/Secondary/Games/.minecraft" [0610/133725:INFO:ClientStarter.cpp(619)] ${assets_root} == "/Secondary/Games/.minecraft/assets" [0610/133725:INFO:ClientStarter.cpp(619)] ${assets_index_name} == "1.12" [0610/133725:INFO:ClientStarter.cpp(619)] ${auth_uuid} == "..." [0610/133725:INFO:ClientStarter.cpp(619)] ${auth_access_token} == "..." [0610/133725:INFO:ClientStarter.cpp(619)] ${user_type} == "mojang" [0610/133725:INFO:ClientStarter.cpp(619)] ${version_type} == "release" [0610/133725:INFO:LocalVersionProvider.cpp(81)] Looking for installed versions in /Secondary/Games/.minecraft/versions [0610/133725:WARNING:x11_util.cc(1404)] X error received: serial 265, error_code 182 (GLXBadWindow), request_code 154, minor_code 26 (X_GLXMakeContextCurrent) [0610/133725:INFO:ClientHandler.cpp(155)] Hiding launcher! [0610/133725:WARNING:x11_util.cc(1404)] X error received: serial 186, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow) Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [0610/133725:INFO:GameCallbacks.cpp(178)] launcher/launcher (main) info Process closed with exit code 256 [0610/133725:INFO:ClientHandler.cpp(182)] Creating launcher window. [0610/133726:WARNING:mainLinux.cpp(24)] X error received: type 0, serial 877, error_code 8, request_code 42, minor_code 0 [0610/133726:WARNING:x11_util.cc(1404)] X error received: serial 295, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)/Secondary/ is my hard drive, as I boot off a small SSD. I have a sym link going from ~/.minecraft to /Secondary/Games/.minecraft since that is where my 'passed around for ages' folder is.
The .jar file won't even allow me to start a game, as it won't even connect to the internet.
1.12.2 and the 1.13 snapshots work fine. I cannot figure out the problem. Is it a missing package, or a conflicting package? Please help.
Not sure where to put your blocks? Same.
Bumping to say that there are no crash reports in the logs folder. Not even the launcher logs have the crash. I would have liked to use the newer launcher, but I might have to run the jar instead and figure out what is wrong with it.
I just found out the problem when trying to make Optifine work on the jar. Seems like it was more of a java problem than Minecraft itself.
Solution: Either you need to uninstall openjdk-11-jre and openjdk-11-jdk in Ubuntu, or reconfigure every one of your profiles with the path for Java 8 if you already have that installed. If you remove openjdk-11*, then you need to use the --reinstall flag with install with openjdk-8* so that it re-configures your java path.
Not sure where to put your blocks? Same.