4 ms·
> Getting Java installed is always a bit of a headache apt install openjdk-21-jdk-headless Or equivalent, no?
by Symbiote 1y ago
> Getting Java installed is always a bit of a headache
apt install openjdk-21-jdk-headless
Or equivalent, no?
- westmeal 1y agoI wouldn't recommend doing it for mc. They keep changing and or using old jvms. What I do is I just go on oracles site and get the jdk they list that works, and run it directly from the folder. Also some distros do make it a pain lol.
- frollogaston 1y agoI haven't done this in forever, but last time the recommended OpenJDK answer was somehow not right. Got the Oracle one, had to figure out where you extract the tarball to, fix my PATH, yada yada.
- ToucanLoucan 1y ago^ this was my experience yeah. Though I didn't even bother with the PATH var I just used an absolute path to the damn binary because I was frustrated.
- 1718627440 1y ago> didn't even bother with the PATH var That sounds fine though. The PATH variable is a nicety for the user to not need to type long paths, really like using ~ for the home directory, not for program setup.
- frollogaston 1y agoPATH was the last thing. I was more annoyed that the recommended way of installing Java in Linux is wrong. That wasted like 30min before I realized.
- Symbiote 1y agoThe instructions on and linked from https://www.minecraft.net/en-us/download/server https://www.minecraft.net/en-us/download/server work fine — I downloaded the JAR file, installed OpenJDK 21 as above, and ran the given command. I'll accept installing and running software on Linux has an unfamiliar procedure for those used to Windows or Mac.