System Information
| Field |
Value |
| Operating System |
Linux - Debian GNU/Linux 11 on x86_64 |
| Product |
AMP ‘Decadeus’ v2.4.6.4 (Mainline) |
| Virtualization |
QEMU_KVM |
| Application |
Application Deployment |
| Module |
ADSModule |
| Running in Container |
No |
| Current State |
Indeterminate |
Problem Description
Issue
Hello I am attempting to install a Curseforge Modpack Steampunk [LPS] | By SHXRKIE. It requires JAVA 18 but that does not appear to be a listed option under my Java list drop-down menu. Could you assist me in getting this installed so that I can move the server files over?
Reproduction Steps
- Created New Instance
- Set RAM settings, Cannot select anything past JAVA 17 from my drop-down menu
- N/A
You need to download it yourself via your package manager, then stop/start the instance for the Java list to repopulate. (or use AMP’s built in docker feature, but that’s a whole bucket of worms)
Ridiculous that it needs Java 18 though, dumb devs be like that I guess.
I can’t see where it says it requires Java 18 though
Its in the READ_ME for the newest server file download.
Ah fun, but yeah just through the package manager should do fine:
sudo apt install openjdk-18-jre
Unsure if I am absolutely just missing it or what, but there isn’t an exact “Package Manager” button. Would this be in the instance itself?
No, you’d need to run that in the system’s command line. AMP doesn’t have the permissions to install packages.
Then in AMP stop/start the instance from the main screen, so that the Java runtimes list refreshes.
If the BROWSER TERMINAL is not what you are referring to when you say “Package Manage” & “System’s Command Line” then I have been lost this entire time. I don’t mean to sound rude but could you please be more specific and use exact terms.
This is what I get when I input the code you previously provided.
Maybe try that with a sudo apt update then sudo apt install openjdk-18-jre
Sometimes packages need a refresh before they can be downloaded.
If that still doesn’t work there may be an extra repository that I’m forgetting about
Maybe try temurin-18-jre. Not sure if that Version is available but temurin is what AMP installs for you
I looked up what’s in the repo. You need to run apt install temurin-18-jdk to get Java 18
And for future reference, you can lookup which packages are available with apt search temurin*
Whoopsie on my part, thought that package was available by default