System
OS | Linux |
---|---|
Platform | Ubuntu 22.04.5 |
System Type | x86_64 |
Hardware Platform | SeaBIOS Standard PC (i440FX + PIIX, 1996) |
CPU Model | AMD Ryzen 5 3400G |
CPU Layout | 1S/4C/4T |
Installed RAM | 7747 |
Virtualization | QEMU_KVM |
Network Mode | Standard |
Module | MinecraftModule |
Module Application | Minecraft |
Loaded Plugins | FileManagerPlugin, EmailSenderPlugin, WebRequestPlugin, LocalFileBackupPlugin, CommonCorePlugin, AnalyticsPlugin |
Application Name | AMP |
Application Version | 2.6.2.0 |
Codename | Phobos |
Tools Version | 2.6.1.6 |
Release Stream | Mainline |
Build Spec | Release |
Build Date | 29/05/2025 16:05 |
InstanceID | ec23e0c1-c8d2-4948-807b-b1e242bb3e40 |
Last Executable | /usr/lib/jvm/java-21-openjdk-amd64/bin/java |
Last Arguments | -Xmx1024M -Xms256M -jar minecraft_server.jar nogui |
Last Process ID | 253457 |
Problem Description:
When attempting to start minecraft server, there is an error saying “The update manager reported a successful update, but ./Minecraft/spigot.jar is missing.” Upon further inspection of the logs, it appears to be an issue with the release “Fatal error compiling: error: release version 17 not supported”
Steps to reproduce:
- Step 1 - Fresh instance install
- Step 2 - Select Spigot as server type
- Step 3 - Select [Auto] for Jar type
- Step 4 - Click Update/Download and wait for compile
- Step 5- Attempt to start server
Actions taken to resolve so far:
-
Error suggests and issue with the version of JRE
-
Server template was made only with JDK installed, not JRE
- Manually installed OpenJDK JRE
mcserver@mcserver:~$ sudo apt install default-jre The following additional packages will be installed: at-spi2-core dconf-gsettings-backend dconf-service default-jre-headless gsettings-desktop-schemas libatk-bridge2.0-0 libatk-wrapper-java libatk-wra libatk1.0-0 libatk1.0-data libatspi2.0-0 libdconf1 libfontenc1 libgif7 libxaw7 libxcb-shape0 libxcomposite1 libxft2 libxkbfile1 libxmu6 libxxf86dga openjdk-11-jre openjdk-11-jre-headless session-migration x11-utils Suggested packages: libnss-mdns fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic mesa-utils The following NEW packages will be installed: at-spi2-core dconf-gsettings-backend dconf-service default-jre default-jre-headless gsettings-desktop-schemas libatk-bridge2.0-0 libatk-wrapper-jav libatk-wrapper-java-jni libatk1.0-0 libatk1.0-data libatspi2.0-0 libdconf1 libfontenc1 libgif7 libxaw7 libxcb-shape0 libxcomposite1 libxft2 libxkbf libxxf86dga1 openjdk-11-jre openjdk-11-jre-headless session-migration x11-utils 0 upgraded, 26 newly installed, 0 to remove and 8 not upgraded. Need to get 43.9 MB of archives. After this operation, 181 MB of additional disk space will be used. Do you want to continue? [Y/n] Y mcserver@mcserver:~$ java -version openjdk version "21.0.7" 2025-04-15 OpenJDK Runtime Environment (build 21.0.7+6-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 21.0.7+6-Ubuntu-0ubuntu122.04, mixed mode, sharing) mcserver@mcserver:~$
Error continued after installing JRE:
[INFO] --- compiler:3.13.0:compile (default-compile) @ spigot-api ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 1259 source files with javac [debug release 17] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.21.5-R0.1-SNAPSHOT .................... FAILURE [ 1.338 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SKIPPED
[INFO] Spigot 1.21.5-R0.1-SNAPSHOT ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.471 s
[INFO] Finished at: 2025-05-31T23:31:25Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project spigot-api: Fatal error compiling: error: release version 17 not supported -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
java.lang.RuntimeException: Error running command, return status !=0: [sh, /home/amp/.ampdata/instances/AncientCities01/Minecraft/spigotbuild/apache-maven-3.9.6/bin/mvn, -Dbt.name=4496, clean, install]
at org.spigotmc.builder.Builder.runProcess0(Builder.java:1042)
at org.spigotmc.builder.Builder.runProcess(Builder.java:967)
at org.spigotmc.builder.Builder.runMaven0(Builder.java:936)
at org.spigotmc.builder.Builder.runMavenServer(Builder.java:905)
at org.spigotmc.builder.Builder.startBuilder(Builder.java:683)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:60)
verified javac version:
javac 21.0.7
Switching to official version with auto selected jar and the server instance starts fine no problem