Hey everyone! Here is a proper guide for install Java 16 (Minimum for Paper starting 1.17) on a MineOS turnkey server! (But can probably be modified for other versions)
So lets get started...
First, you are going to want to go to your webui and make sure ***ALL*** of your servers are offline and down, just for the update.
Next up, you are going to need two tools, an SSH client (Putty works great) and FTP client (WinSCP is my client of choice)
First you are going to want to connect to your server, using SSH with **A ROOT ACCOUNT** *very important ;)* and your root password.
Next, you will want to start off by running the command `wget https://download.java.net/java/GA/jdk16.0.1/7147401fd7354114ac51ef3e1328291f/9/GPL/openjdk-16.0.1_linux-x64_bin.tar.gz`
Next, will be `tar -xf openjdk-16.0.1_linux-x64_bin.tar.gz -C /opt/`
Next step is to hop into your FTP client of choice and navigate to `/usr/bin/` and look for the `java` file. Make sure you delete that before we progress.
Finally, you are going to want to head back to your SSH client and put in `ln -s /opt/jdk-16.0.1/bin/java /usr/bin/java`
Hooray! You are done! Openjdk 16 has been installed!
Just to check everything installed correctly, run java --version and look for
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
or something similar!
I hope this was helpful to someone trying to get updated and ready for **Minecraft 1.17!**
*p.s, if you are running java arguments on your server, JDK 16 may break some older ones for 8, so if your servers aren't starting try deleting them! Also, modpacks may not run on newer versions of java! I am trying to work out that kink, may need some help from others!*
Yours truly, *Alex*