No X11 display variable was set

Im trying to run on oracle cloud vps and i keep getting this error
No description
29 Replies
ProGamingDk
ProGamingDk2y ago
The installer is a gui U need to run it on your own pc first Also don't give Mc 24 gb ram Especially when that's all u have... MAX 16 gb in 99.9999% of cases
jaegyu
jaegyu2y ago
you can install it with the cli
ProGamingDk
ProGamingDk2y ago
You can But eh might aswell do it on your own pc
jaegyu
jaegyu2y ago
java -jar minecraftforge-installer.jar --installServer
ProGamingDk
ProGamingDk2y ago
Oh Nice
jaegyu
jaegyu2y ago
i mean sure, but if he already has the file on his pc then yeah, i pretty much exclusively use cli, so i find these small things here and there
ProGamingDk
ProGamingDk2y ago
Same here
Lantic
LanticOP2y ago
well that fixed that issue now just a new one sadly
jaegyu
jaegyu2y ago
dont be greedy, share share
Lantic
LanticOP2y ago
No description
jaegyu
jaegyu2y ago
are you able to copy-paste? you can ctrl-shift-c in terminals
Admincraft Meta
Please use a paste service next time!!
https://mclo.gs/jo1VpQn Requested by <@226387187229261826>
Admincraft Meta
Please use a paste service next time!!
https://mclo.gs/uVUUyjw Requested by <@226387187229261826>
Lantic
LanticOP2y ago
here is the full one
jaegyu
jaegyu2y ago
what version of java are you using?
Lantic
LanticOP2y ago
20.0.1
jaegyu
jaegyu2y ago
id recommend using java 17
Lantic
LanticOP2y ago
well the modpack is 1.19.2 remember hearing that you need a higher version of java for that
ProGamingDk
ProGamingDk2y ago
Nope
jaegyu
jaegyu2y ago
yeah java 17 is fine
ProGamingDk
ProGamingDk2y ago
Java 17 works fine
Lantic
LanticOP2y ago
ahh ok
ProGamingDk
ProGamingDk2y ago
And is lts Aswell ( i think Java 20 isnt) can't remember tho
jaegyu
jaegyu2y ago
endoflife.date
Java/OpenJDK
Check end-of-life, release policy and support schedule for Java/OpenJDK.
jaegyu
jaegyu2y ago
No description
Lantic
LanticOP2y ago
how would i remove 20.0.1 then as the server is trying to use it
ProGamingDk
ProGamingDk2y ago
Download Java 17 And then point to it if it doesn't override
jaegyu
jaegyu2y ago
yeah, im not sure how the directory is laid out tho update-alternatives --config java should work i guess dont shoot the messanger if it doesnt though, i dont have an orcale box to check these commands on

Did you find this page helpful?