Currently trying to run a GregTech New Horizons 2.8.4 server and installing java 25

OS Name/Version:Ubuntu 24.04.2

Product Name/Version: AMP Phobos 2.6.4.2 - 20251210.2

Problem Description: Trying to run a GTNH 2.8.4 server but I can not get it to run on the AMP server and after testing the server on my personal computer I got it to work after adding java 25 and was wondering how to do that on AMP but I am very beginner and do not have a full understanding on how all of this works

If you're sharing console output, logs, or commands you have run, please make sure to use code tags 
(3x backticks for blocks, 1x backtick for a single line) to help make posts readable. This also
provides syntax highlighting.

Steps to reproduce:

  • Install GTNH 2.8.4
  • Attempt install Graalvm java 25 jdk linux x64
  • Attempt to find java 25

Actions taken to resolve so far:

No action taken so far

Double check this guide here to make sure you’ve configured things right (there’s a GTNH section):
https://discourse.cubecoders.com/t/setting-up-a-modded-java-minecraft-server/26535

Then if all that checks out, press the pencil icon on the MC instance to see if it has Run in docker container enabled.

If it does, press the update button on the instance and that should update the container image (do note that this will be the Adoptomium Java 25 runtime).
Otherwise, make sure you’ve installed the new Java runtime in the default Java path, /usr/bin/jvm/whatever-its-named.

Personally, if you’re new to all of this you don’t need Graalvm, and will probably find it easier to install a java runtime that’s simpler to install.

So I was looking at this reply and thank you but now when trying to make another instance it suddenly said “An AMP licence key must be specified in settings to create new instances. See Configuration > Instance Deployment > Deployment Defaults > Licence Key.” and when I look into these settings my license key is gone and when I press reactivate local instances it says “Reactivate Local Instances failed : The supplied licence key was not in the correct format.” what should I do?

edit: I was able to resolve this

New question :how do I install the java 25 into the server so it can read and use it for the instance? and what would you recommend I download

Check to see if you’re running things in Docker (see my previous message), and if you aren’t running Docker, there’s this guide here:
https://discourse.cubecoders.com/t/amp-dependencies-java/3648

I wasnt able to figure it out with just the document but I did find a video that helped me install java 25 then the document fixed the rest of my problems

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.