user13857983749837

Minecraft 1.17 Java 16 Update

Jun 8th, 2021 (edited)
719
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. 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)
  2.  
  3. So lets get started...
  4. __
  5. 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.
  6.  
  7. Next up, you are going to need two tools, an SSH client (Putty works great) and FTP client (WinSCP is my client of choice)
  8. First you are going to want to connect to your server, using SSH with **A ROOT ACCOUNT** *very important ;)* and your root password.
  9.  
  10. 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`
  11.  
  12. Next, will be `tar -xf openjdk-16.0.1_linux-x64_bin.tar.gz -C /opt/`
  13.  
  14. 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.
  15.  
  16. 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`
  17.  
  18.  
  19.  
  20. Hooray! You are done! Openjdk 16 has been installed!
  21. Just to check everything installed correctly, run java --version and look for
  22. ```
  23.  
  24. openjdk 16.0.1 2021-04-20
  25. OpenJDK Runtime Environment (build 16.0.1+9-24)
  26. OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
  27.  
  28. ```
  29. or something similar!
  30.  
  31. I hope this was helpful to someone trying to get updated and ready for **Minecraft 1.17!**
  32.  
  33.  
  34. *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!*
  35.  
  36. Yours truly, *Alex*
Add Comment
Please, Sign In to add comment