You are not logged in.

#1 2022-03-08 02:23:59

beaverusiv
Member
From: Taupo, New Zealand
Registered: 2011-07-09
Posts: 41

[SOLVED] Set version of java for Minecraft

Due to an issue I need to have jre 8u312 installed, which isn't the latest version of jre 8

https://github.com/MultiMC/Launcher/issues/4470

> Forge is broken with Java 8 Update 321 or newer
> You need an older Java 8 version, e.g. 8u312

Is there a straightforward way to do this?

Last edited by beaverusiv (2022-03-09 03:59:37)

Offline

#2 2022-03-08 07:40:40

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,152
Website

Re: [SOLVED] Set version of java for Minecraft

$ archlinux-java status
Available Java environments:
  java-11-openjdk
  java-17-openjdk (default)
  java-8-openjdk/jre
$ JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre minecraft-launcher

Or any other appropriate Java version.

Last edited by schard (2022-03-08 07:42:02)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2022-03-08 15:52:00

vorvac
Member
Registered: 2021-05-14
Posts: 44

Re: [SOLVED] Set version of java for Minecraft

If no acceptable Java version is present in the AUR, you can download/extract something from the web to the appropriate folder.

In MultiMC, there should be an options/properties window on each instance where you can specify the version of Java to use, if multiple versions are installed on the system.

I personally use https://github.com/AdoptOpenJDK/openjdk … nj9-0.14.2 for a 1.7.10 pack. YMMV.

Offline

#4 2022-03-08 17:27:29

radiomike
Member
Registered: 2013-12-19
Posts: 73

Re: [SOLVED] Set version of java for Minecraft

Unless you are using minecraft 1.12.2 or earlier, openj9 won't work with forge. Also, adoptopenjdk is now https://adoptium.net/

Depending on the modpack you are using, you may also be able to update forge - version 36.2.26 and newer all work with the latest java 8/11/17. Bear in mind that doing this may break some mods, but if you are using multimc it's easy to test and just as easy to revert.

Offline

#5 2022-03-09 03:59:13

beaverusiv
Member
From: Taupo, New Zealand
Registered: 2011-07-09
Posts: 41

Re: [SOLVED] Set version of java for Minecraft

Thanks @vorvac, I went to https://adoptium.net/archive.html?varia … nt=hotspot and grabbed a version and set MultiMC to that version and it loads

Offline

Board footer

Powered by FluxBB