Score:0

Alternatives to openjdk-7-jre?

us flag

Trying to build headless serv for minecraft w/ friends. I'm following a guide that wants me to install openjdk-7-jre, however I noticed that people are saying it doesn't have updates anymore and to not use it. I want to know is there an alternative to that? or do I just have to have it?

Thanks.

Johan Palych avatar
us flag
Java installation options (minecraft did not install) https://help.ubuntu.com/community/Java
Johan Palych avatar
us flag
For most distributions, it is recommended to install OpenJDK 16 (for 1.17+) or OpenJDK 8 (for below 1.17) https://minecraft.fandom.com/wiki/Tutorials/Setting_up_a_server#Common_instructions https://packages.ubuntu.com/impish/openjdk-16-jdk
user535733 avatar
cn flag
My own Minecraft server has worked properly with the `openjdk-11-jre-headless` package for years instead of `openjdk-7-jre`. Next time I upgrade that container (in 6 months), I will test migrating to v16. Whatever 'guide' you are following seems suspect...or perhaps just old.
guiverc avatar
cn flag
I see no OS & release details; so why are you asking here?
Score:0
eg flag

Seems like you may just have an old guide.

I've run a few servers over the last 9 years.

Unless you are aiming for a specific version of Minecraft you can likely get away with the latest version of Java.

I'm running a Paper and Vanilla server using openjdk-17-jdk-headless

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.