Using gradle mit JDK-13
kevin.rushforth at oracle.com
Fri Oct 18 12:57:17 UTC 2019
Correct. will need to upgrade to gradle 6 to support building with JDK
13. See JDK-8232063  and JDK-8232064 . The gradle team indicates
that they plan to ship gradle 6 on November 1 .
By way of information, the current toolchain versions used by the JavaFX
build are recorded in build.properties .
On 10/18/2019 4:56 AM, Nir Lisker wrote:
> Sorry, that was my mistake when I updated that page for Skara. We usually
> list JDK N and N-1 as compatible for JFX N and I missed that Gradle is not
> there yet for 13.
> Use JDK 12 for now.
> - Nir
> On Fri, Oct 18, 2019, 09:02 Robert Lichtenberger <r.lichtenberger at gmail.com>
>> In trying to provide a fix for JDK-8232524 I have begun to setup a build
>> for JavaFX.
>> According to  using JDK-13 is recommended. However, gradle is not yet
>> ready to run on JDK-13 ():
>> [rli at rlinux jfx]$ ./gradlew clean
>> FAILURE: Build failed with an exception.
>> * Where:
>> Build file '/home/rli/PWEs/jfx/buildSrc/build.gradle'
>> * What went wrong:
>> Could not compile build file '/home/rli/PWEs/jfx/buildSrc/build.gradle'.
>>> startup failed:
>> General error during semantic analysis: Unsupported class file major
>> version 57
>> I'll now continue on JDK-12 (just like I have to in my day job) but is
>> there any general advice on how to proceed with JDK-13?
>> Best regards,
>>  https://github.com/gradle/gradle/issues/8681
More information about the openjfx-dev