<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    I hadn't tried setting `org.gradle.java.home`, but if that works, it
    might be easier than our current recipe.<br>
    <br>
    -- Kevin<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 10/14/2025 2:24 AM, Nir Lisker
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CA+0ynh8k621-A2uQ0N6usfjjd1TiT3NFTmdwxuQqGT-TMu8vHw@mail.gmail.com">
      
      <div dir="ltr">Gradle tells you how to find out what you're doing
        wrong:
        <div><br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">*
          Try:<br>
           > Run with --stacktrace option to get the stack trace.<br>
           > Run with --debug option to get more log output.<br>
           > Run with --scan to get full insights.<br>
           > Get more help at <a href="https://help.gradle.org/" rel="noreferrer" target="_blank" style="color:rgb(86,163,241)" moz-do-not-send="true" class="moz-txt-link-freetext">https://help.gradle.org</a>.</blockquote>
        <div><br>
        </div>
        <div>In any case, the error message is straightforward:
          "Unsupported class file major version 69" means that the
          corresponding Java version (25) is unsupported in the Gradle
          version you're using. You can create a file inside your gradle
          home directory (.gradle) called "gradle.properties" and set
          the org.gradle.java.home property to the path of a previous
          Java version if you don't want to change your global env var.</div>
      </div>
      <br>
      <div class="gmail_quote gmail_quote_container">
        <div dir="ltr" class="gmail_attr">On Tue, Oct 14, 2025 at
          9:41 AM Michael Zucchi <<a href="mailto:notzed@gmail.com" moz-do-not-send="true" class="moz-txt-link-freetext">notzed@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
          Orion,<br>
          <br>
          I believe you have to use openjdk 24 as gradle 8.14.x doesn't
          support 25.<br>
          <br>
          I also had to add -Dorg.gradle.java.home=/correct/path as it
          insisted on <br>
          using the wrong version of many installed locally.<br>
          <br>
          Otherwise I found it pretty trivial to build, good luck.<br>
          <br>
            Z<br>
          <br>
          <br>
          On 14/10/25 10:52, Orion Poplawski wrote:<br>
          > So I'm stepping back to simply try building openjfx with
          gradlew but I <br>
          > get:<br>
          ><br>
          > $ sh gradlew --info build<br>
          > Initialized native services in:
          /home/orion/.gradle/native<br>
          > Initialized jansi services in: /home/orion/.gradle/native<br>
          > The client will now receive all logging from the daemon
          (pid: 253483). <br>
          > The daemon log file: <br>
          > /home/orion/.gradle/daemon/8.14.2/daemon-253483.out.log<br>
          > Starting 2nd build in daemon [uptime: 2 mins 22.763 secs,
          performance: <br>
          > 97%, GC rate: 0.00/s, heap usage: 2% of 512 MiB, non-heap
          usage: 9% of <br>
          > 384 MiB]<br>
          > Using 6 worker leases.<br>
          > Now considering [/home/orion/openjfx-25/jfx25u-25-29] as
          hierarchies <br>
          > to watch<br>
          > Now considering
          [/home/orion/openjfx-25/jfx25u-25-29/buildSrc, <br>
          > /home/orion/openjfx-25/jfx25u-25-29] as hierarchies to
          watch<br>
          > Watching the file system is configured to be enabled if
          available<br>
          > File system watching is active<br>
          > Starting Build<br>
          > Caching disabled for Groovy DSL script compilation
          (settings) because:<br>
          >   Build cache is disabled<br>
          >   Not worth caching.<br>
          > Compiling settings file <br>
          > '/home/orion/openjfx-25/jfx25u-25-29/settings.gradle'
          using <br>
          > BuildScriptTransformer.<br>
          ><br>
          > FAILURE: Build failed with an exception.<br>
          ><br>
          > * What went wrong:<br>
          > BUG! exception in phase 'semantic analysis' in source
          unit <br>
          > '_BuildScript_' Unsupported class file major version 69<br>
          > > Unsupported class file major version 69<br>
          ><br>
          > * Try:<br>
          > > Run with --stacktrace option to get the stack trace.<br>
          > > Run with --debug option to get more log output.<br>
          > > Run with --scan to get full insights.<br>
          > > Get more help at <a href="https://help.gradle.org" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://help.gradle.org</a>.<br>
          ><br>
          > BUILD FAILED in 466ms<br>
          ><br>
          > $ java --version<br>
          > openjdk 25 2025-09-16<br>
          > OpenJDK Runtime Environment (Red_Hat-25.0.0.0.36-1)
          (build 25+36)<br>
          > OpenJDK 64-Bit Server VM (Red_Hat-25.0.0.0.36-1) (build
          25+36, mixed <br>
          > mode, sharing)<br>
          ><br>
          > What am I doing wrong?<br>
          ><br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>