Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Minecraft 1.17 / Java 16
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
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Fri Jun 11, 2021 4:03 am    Post subject: [SOLVED] Minecraft 1.17 / Java 16 Reply with quote

Hello,

The most recent Minecraft version requires Java 16 else the game wont launch (you must use the launchers bundled Java). Before <1.17 I used Java 8 with dev-java/openjdk-jre-bin. Ive reviewed https://wiki.gentoo.org/wiki/Java#The_choices however I cant seem to find Java version 16? Is this something new that's coming or am I missing something?

Thanks!


Last edited by FilthyPitDog on Fri Jun 11, 2021 6:40 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Fri Jun 11, 2021 5:22 am    Post subject: Reply with quote

In portage tree there is no java:16, but you can try to install it from an overlay
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Fri Jun 11, 2021 6:40 am    Post subject: Reply with quote

fedeliallalinea wrote:
In portage tree there is no java:16, but you can try to install it from an overlay


Thank you
Back to top
View user's profile Send private message
Pasketti
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 109
Location: Austin, Texas

PostPosted: Sun Jun 13, 2021 3:19 am    Post subject: Reply with quote

Thank you for that pointer. I was pulling my hair out.

For those that, like me, need a pointer to using overlays: https://wiki.gentoo.org/wiki/Custom_ebuild_repository

Don't just download the dev-java/openjdk-bin-16.0.1_p9 ebuild. You'll also need to get "files/openjdk-bin-16.env.sh". You can browse to it.

It's working fine now.
Back to top
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Sun Jun 13, 2021 8:26 pm    Post subject: Reply with quote

Pasketti wrote:
Thank you for that pointer. I was pulling my hair out.


NP!

I went the route as fedeliallalinea stated, I just added the overlay 2xsaiko with "layman -a 2xsaiko" then "emerge -av dev-java/openjdk:16" & within the Minecraft launcher use "/usr/lib64/openjdk-16/bin/java" for the JAVA EXECUTABLE. Whatever works! Cheers! :D
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