Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>It's one of the last versions where the modal dialogs ask "Yes" or "No", instead of "Yes" and "Not now", "Maybe later", or "Ask again tomorrow".

This difference captures so much...

I recently setup a minecraft server on an old windows machine and had a hard time setting it to never restart automatically. After reading some support forums I found the menu to control when it restarts but still didnt see an option to completely stop it.

Eventually I found a way that I can't even recall at this point.



So much easier to run mc servers on Linux boxes. You just grab the jvm that version wants and throw everything into a folder and use the jvms java executable on the server.jar.


Was gonna say the exact same thing. Getting Java installed is always a bit of a headache but that's really the only hard part. Once your JVM is good, everything from there is easy.

And even the JVM part, it's not HARD, just annoying.


Even on Windows it can be a hassle because so many links will send you to Java 8 which Minecraft won't run on. Even the official links on minecraft.net sent you to the version that wouldn't run Minecraft for some time.


> Getting Java installed is always a bit of a headache

  apt install openjdk-21-jdk-headless
Or equivalent, no?


I 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.


Does it really matter? i've run Minecraft servers with Coretto 21 on Arm and had no issues at all even with the weird setup


Ive honestly never heard of coretto but it seems to be basically openjdk 21 under the hood so I don't see why that'd be a problem.


I 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.


^ 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.


> 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.


PATH 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.


The instructions on and linked from 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.


I'm not sure if you've tried it or not, but sdkman.io is a really handy JVM ecosystem environment manager that makes getting Java (and other JVM langs) really easy to install and switch between.


... Thats also how you do it on windows though?

I agree it's a better OS to run a minecraft server on in general.


Of course, the OS doesn't really matter it's just easier to manage a Linux box as opposed to a windows machine half the time. Especially for a server. Theres a lot of stupid shit you'll see on consumer and even enterprise versions of Windows which I've had to unfortunately deal with for a decade in exchange for money. Since the gp mentioned how frustrating it was I can relate.

Edit: also ufw is so much easier than the windows firewall. That shit drives me insane.


Completely disabling Windows Update is very difficult, much more involved than simply disabling a service or two or a registry key.

There's multiple services dedicated to monitoring / "repairing" windows update, scheduled tasks to enable those, and further tasks to repair everything completely if anything is modified.

And if all of that is disabled... there's a single exe which "helpfully" re-enables and re-creates all of the necessary scheduled tasks and services, which gets called by the service manager automatically: "upfc.exe"

Renaming / getting rid of this stops WaasMedic & other services from respawning.


> There's multiple services dedicated to monitoring / "repairing" windows update, scheduled tasks to enable those, and further tasks to repair everything completely if anything is modified.

Sounds like we'd need some resident anti-virus-like software dedicated to enforcing the user's choices on the OS.

(but definitely do your updates so as to not become part of a botnet. Too bad the security updates must come with unneeded feature updates)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: