Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minecraft FATAL ERROR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 624

PostPosted: Thu Apr 05, 2018 4:05 pm    Post subject: Minecraft FATAL ERROR Reply with quote

I'm trying to get minecraft to run on Gentoo but it comes up with this error
Code:
Starting launcher.
[16:45:38 INFO]: Minecraft Launcher unknown (through bootstrap 5) started on linux...
[16:45:38 INFO]: Current time is Apr 5, 2018, 4:45:38 PM
[16:45:38 INFO]: System.getProperty('os.name') == 'Linux'
[16:45:38 INFO]: System.getProperty('os.version') == '4.13.12-gentoo'
[16:45:38 INFO]: System.getProperty('os.arch') == 'amd64'
[16:45:38 INFO]: System.getProperty('java.version') == '9.0.4'
[16:45:38 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[16:45:38 INFO]: System.getProperty('sun.arch.data.model') == '64'
[16:45:38 INFO]: proxy == DIRECT
[16:45:38 INFO]: JFX is already initialized
FATAL ERROR: net.minecraft.bootstrap.FatalBootstrapError: Unable to start: java.lang.reflect.InvocationTargetException
        at net.minecraft.bootstrap.Bootstrap.startLauncher(Bootstrap.java:242)
        at net.minecraft.bootstrap.Bootstrap.execute(Bootstrap.java:124)
        at net.minecraft.bootstrap.Bootstrap.main(Bootstrap.java:381)


Please fix the error and restart.

This is a fresh install, no mod packs or anything similar, I'm using oracle-jre-bin-9.0.4. As it isn't selectable with java-config I'm starting it with the following
Code:
/opt/oracle-jre-bin-9.0.4/bin/java -jar /home/fred/Minecraft/Minecraft.jar

I get the launcher up but it stalls with the error in the terminal window. I've enabled the javafx and gtk3 use flags if that's relevant.
Any ideas?

I tried using icedtea-8 and that got a bit further but this error then occurred,

Code:
---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 4/5/18 5:37 PM
Description: Initializing game

java.lang.ExceptionInInitializerError
   at bib.av(SourceFile:661)
   at bib.aq(SourceFile:456)
   at bib.a(SourceFile:404)
   at net.minecraft.client.main.Main.main(SourceFile:123)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
   at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
   at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
   at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
   ... 4 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
   at bib.av(SourceFile:661)
   at bib.aq(SourceFile:456)

-- Initialization --
Details:
Stacktrace:
   at bib.a(SourceFile:404)
   at net.minecraft.client.main.Main.main(SourceFile:123)

-- System Details --
Details:
   Minecraft Version: 1.12.2
   Operating System: Linux (amd64) version 4.13.12-gentoo
   Java Version: 1.8.0_161, Oracle Corporation
   Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 248757472 bytes (237 MB) / 382992384 bytes (365 MB) up to 1060372480 bytes (1011 MB)
   JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   Launched Version: 1.12.2
   LWJGL: 2.9.4
   OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
   GL Caps:
   Using VBOs: Yes
   Is Modded: Probably not. Jar signature remains and client brand is untouched.
   Type: Client (map_client.txt)
   Resource Packs:
   Current Language: ~~ERROR~~ NullPointerException: null
   Profiler Position: N/A (disabled)
   CPU: <unknown>
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2498

PostPosted: Thu Apr 05, 2018 5:01 pm    Post subject: Reply with quote

Do you have xrandr installed? I seem to recall minecraft crashing as described without it.

EDIT: It runs beatifically with icedtea, so no need for the other java.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum