Java Version (W.I.P) - dr3ams/Roguelike-Adventures-and-Dungeons-2 GitHub Wiki

For the serverpack or modpack to work it requires using java 8

Depending on what launcher your using to play the modpack you may have to manually assign the java version

Multimc (and any of its forks require you to assign the java version it uses for modpacks)

  1. Minecraft 1.16.5 requires JAVA 8 64-Bit. If you don't have it you can download it here:

https://www.java.com/en/download/manual.jsp

image

  1. Click edit instance

  2. Go to settings

  3. Click autodetect

image

  1. Choose java 8 and click ok

image

Server setup

  1. Download latest Serverpack for modpack:

(found under Additional Files)

https://www.curseforge.com/minecraft/modpacks/roguelike-adventures-and-dungeons-2/files

  1. JAVA VERSIONS AND PATHING

Create a folder for all your Java versions Example C:\Java Download the .zip (not the .msi) folders for the server MC version

Minecraft 1.16.5/1.12.2 requires Java 8,

https://adoptium.net/temurin/releases/?version=8&os=windows&arch=x64&package=jre

Minecraft MC 1.17 and newer requires Java 17

https://adoptium.net/temurin/releases/?version=17&os=windows&arch=x64&package=jre

image

  • right click the downloaded zip folder and "Extract all" to your created folder from step 1

Example C:\Java

  • Enter the java version folder you wish to use

  • Enter bin folder, select the Java file (NOT JAVAW) while holding SHIFT, right click it and then click on copy as path from the drop down menu

image

  • Close all the other windows and go Into your serverpack files

  • Right click to edit the launchserver file (batch is for windows servers and sh is for linux servers), highlight the word java and then press Ctrl + V to paste the path**(DO NOT REMOVE THE QUOTES)**. If done correctly you should have something similar to what is below. (with your java version path instead of jdkversion#-jre)

"C:\Java\jdkversion#-jre\bin\java.exe" -Xmx4G -jar forge-1.16.5-36.2.39.jar nogui
pause
  1. Open eula.txt file, read EULA and change "false" to "true" if you accept it.

  2. Configure server.properties if you need.

  3. Set custom JAVA arguments if needed in user_jvm_args.txt

  4. Run launchserver.bat

6.1. Project MMO has failed to load correctly/ server pack does not start at all (If your not running a server for 1.17 or above/ using those javas for anything else you can also uninstall them) https://github.com/dr3ams/Roguelike-Adventures-and-Dungeons-2/issues/58#issuecomment-1328237062

  1. Enjoy