Mojira Archive
MCL-22143

Minecraft dont launch on versions before 1.13, even with openjdk 8

so I was testing linux when I decided to install minecraft, however for some reason older versions (before 1.13) is not opening, even with openjdk 8, I've tried to specify the java path but it didn't work, I remember being with the same linux with basically the same hardware (the only difference is that I have more ram) and it worked without problems

 

I used google translator to write this because my english is not the best

log:

 

---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 8/6/22 9:44 AM
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.XRandR.findPrimary(XRandR.java:326)
    at org.lwjgl.opengl.XRandR.ScreentoDisplayMode(XRandR.java:315)
    at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:746)
    at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:743)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:743)
    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 5.15.0-43-generic
    Java Version: 1.8.0_342, Private Build
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Private Build
    Memory: 75690600 bytes (72 MB) / 134217728 bytes (128 MB) up to 2147483648 bytes (2048 MB)
    JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    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>

Invalid

6Queijos

2022-08-06, 03:43 PM

2023-03-10, 12:26 PM

2022-08-09, 11:51 AM

0

1

Unconfirmed

crash, java

2.3.324 (Linux)

-