You are not logged in.
Pages: 1
I am trying to run minecraft on arch linux. I tried also installing it from the AUR package as well as the official launcher on minecraft.net . However, when I start the launcher in both cases, it crashes as soon as I launch a game.
I went to the wiki to troubleshoot, and it said that minecraft may only work with java 8: "Though using a proper package should always be preferred, there is still the options to use the plain minecraft launcher which can be found at the official download page. If you use the manual, official installer, keep in mind you must use Java 8 (such as jre8-openjdk, see Java), as the other versions currently cause a crash."
I have both java 8 and java 10 installed (openjdk, not oracle). But when I launch minecraft with
java -jar Minecraft.jar"
it uses java 10 instead of java 8. I looked online to find a way to specify a specific version of java using this:
java -version:"8" -jar Minecraft.jar
. However, when I run this command, it says that specifying a version is no longer supported.
I do not wish to uninstall java 10, as I need it for a class. Is there another way to specify a specific version of java?
Last edited by RazeLighter777 (2018-06-29 21:08:39)
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you. I apologize for not looking there. For anyone wondering how, you can use
archlinux-java set <version>
to change your java version.
Offline
Please remember to mark your thread as solved by editing your first post and amending the topic title.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
That will work - but I was thinking you'd want to read down to this part:
https://wiki.archlinux.org/index.php/Ja … va_version
If you're ok with jre8 being the default for everything, then yes, just change it. But if you want to keep jre10 as the default but use jre8 for minecraft, you can do that too.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1