Skip to content

build fail on java 17? #1157

@DanoOM

Description

@DanoOM

Hi guys, I'm trying to build this on windows 10, java 17, I'm on:

dhopkins@danotop MINGW64 /c/devel/repos/git/RichTextFX ((v0.11.0))
$ git status
HEAD detached at v0.11.0
nothing to commit, working tree clean

AND
$ ./gradlew -v

------------------------------------------------------------
Gradle 7.0.2
------------------------------------------------------------

Build time:   2021-05-14 12:02:31 UTC
Revision:     1ef1b260d39daacbf9357f9d8594a8a743e2152e

Kotlin:       1.4.31
Groovy:       3.0.7
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          17 (Oracle Corporation 17+35-2724)
OS:           Windows 10 10.0 amd64


When I build I get:

* Where:
Settings file 'C:\devel\repos\git\RichTextFX\settings.gradle'

* What went wrong:
Could not compile settings file 'C:\devel\repos\git\RichTextFX\settings.gradle'.
> startup failed:
  General error during conversion: Unsupported class file major version 61

  java.lang.IllegalArgumentException: Unsupported class file major version 61

I'm not a gradle guru and may be doing something stupid.., typically I use maven. I saw a post about moving to java 11+ for 0.11.0 as the minimum, but I'm not seeing anything about which major versions work? is there a known issue with 17?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions