Uploaded image for project: 'BuildTools'
  1. BuildTools
  2. BUILDTOOLS-711

Build on Java 23 fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • MacOS Sequoia 15.0.1
      Terminal 2.14 (454.1)
      Java 23

    • 1.21.1-4341
    • Yes

      $ make spigot
      curl --silent https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar --output BuildTools.jar
      touch paper-fake.jar spigot-fake.jar
      rm f paper.jar spigot-.jar
      java -jar BuildTools.jar --rev latest

      WARNING *** Unsupported Java detected (Java 23 [67]*). BuildTools has only been tested up to Java 22. Use of development Java versions is not supported.

      WARNING *** You may use java -version to double check your Java version.
      [--rev, latest]
      Loading BuildTools version: git-BuildTools-5411f5b-186 (#186)
      Java Version: Java 23 [67]*
      Current Path: /Users/richard/MC
      git version 2.24.3 (Apple Git-128)
      java version "23" 2024-09-17
      Java(TM) SE Runtime Environment (build 23+37-2369)
      Java HotSpot(TM) 64-Bit Server VM (build 23+37-2369, mixed mode, sharing)
      Attempting to build version: 'latest' use --rev <version> to override
      Found version

      { "name": "4341", "description": "Jenkins build 4341", "refs": \{ "BuildData": "533b02cd6ba8dbf8c8607250b02bf2d8c36421e8", "Bukkit": "bc6874dd3d475c87a31ff3bd0cc285a5c73e2677", "CraftBukkit": "f4d957fffd7cd1cc5a7ab632b4b48a16a2e0e248", "Spigot": "a759b629cbf86401aab56b8c3f21a635e9e76c15" }

      ,
      "toolsVersion": 181,
      "javaVersions": [65, 66]
      }

      The version you have requested to build requires Java versions between [Java 21, Java 22], but you are using Java 23 [67]*

      Please rerun BuildTools using an appropriate Java version. For obvious reasons outdated MC versions do not support Java versions that did not exist at their release.
      make: *** [server.jar] Error 1

            Unassigned Unassigned
            ram@straight8.com SlimeDog
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: