GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Gremlin doesn't work with Java 16+ · Issue #17 · ArcadeData/arcadedb

Gremlin doesn't work with Java 16+ #17

New issue
Copy link
New issue
Copy link
Closed
Closed
Gremlin doesn't work with Java 16+#17
Copy link
Assignees
lvca
Milestone
23.9.1

Description

@lvca
lvca
opened on Sep 1, 2021
Issue body actions

ArcadeDB Version: 21.9.1-SNAPSHOT

JDK Version: 16

OS: Mac

Expected behavior

Error on using Gremlin and Cypher.

Actual behavior

At runtime this exception is thrown from the Gremlin stack: Unsupported class file major version 60

Steps to reproduce

mvn clean install

Activity

  1. lvca commented on Sep 1, 2021

    @lvca
    lvca
    on Sep 1, 2021
    MemberAuthor
    More actions

    On Apache Tinkerpop Gremlin Jira seems it's an issue with Gradle and Gremlin.

  2. lvca
    self-assigned this
    on Sep 1, 2021
  3. lvca
    added
    bug
    on Sep 17, 2021
  4. gfinger commented on Dec 27, 2022

    @gfinger
    gfinger
    on Dec 27, 2022
    Contributor
    More actions

    I tried to build the arcadedb-gremlin subproject with Java 17 and got the same issue, when executing the tests, not during compilation of the sources. Which basically means that the gremlin module is not functional, right?

  5. lvca commented on Dec 27, 2022

    @lvca
    lvca
    on Dec 27, 2022
    MemberAuthor
    More actions

    Gremlin uses Gradle that, AFAIK, doesn't work with JDK >14 or even 11.

  6. gfinger commented on Dec 28, 2022

    @gfinger
    gfinger
    on Dec 28, 2022
    Contributor
    More actions

    Gradle already supports JDK 19. It is Tinkerpop which supports a build with JDK 11 only. The message "Unsupported class file major version" might indicate an issue with serialization/deserialization of Java objects.
    The bad thing is, that because this issue occurs in pretty simple test-cases in the gremlin subproject, I'd assume that we not only have a build issue, but an issue at runtime too.

  7. lvca commented on Dec 28, 2022

    @lvca
    lvca
    on Dec 28, 2022
    MemberAuthor
    More actions

    From Gremlin Discord channel:

    image

    It looks like Java11 is the latest.

  8. lvca commented on Jun 13, 2023

    @lvca
    lvca
    on Jun 13, 2023
    MemberAuthor
    More actions

    I see Gremlin already fixes this issue with Gremlin 3.7.0. We'll switch to this release as soon as it will be out.

    Reacted by Christian Himpe
  9. gramian commented on Aug 1, 2023

    @gramian
    gramian
    on Aug 1, 2023
    Collaborator
    More actions

    Tinkerpop 3.7.0 has been released with support for JDK17, see: https://github.com/apache/tinkerpop/blob/master/CHANGELOG.asciidoc#tinkerpop-370-release-date-july-31-2023
    @lvca will you include it in 23.7.1 (once the Tinkerpop jars are out)?

  10. lvca commented on Aug 1, 2023

    @lvca
    lvca
    on Aug 1, 2023
    MemberAuthor
    More actions

    I still don't see the artifacts on maven central, I think it still needs to be voted ok. My first pass would be upgrading to 3.6.5 and then testing well for 3.7 in the August release

  11. gramian commented on Aug 17, 2023

    @gramian
    gramian
    on Aug 17, 2023
    Collaborator
    More actions

    @lvca while some Gremlin tests are still failing (but not with the version error anymore), compiling and running with JDK17 (tested with OpenJDK17-headless) works with current head. Can this be closed now?

    Reacted by Luca Garulli
  12. lvca
    closed this as completedon Aug 17, 2023
  13. lvca
    added this to the 23.9.1 milestone on Aug 17, 2023
  14. lvca
    added
    fixed
    on Sep 27, 2023
  15. mergify
    added a commit that references this issue on Dec 21, 2025

    chore(deps): bump at.yawk.lz4:lz4-java from 1.10.1 to 1.10.2 [skip ci]

    dbc6969
  16. tae898
    added a commit that references this issue on Jun 28, 2026

    chore(deps): bump at.yawk.lz4:lz4-java from 1.10.1 to 1.10.2 [skip ci]

    a8f9df0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • 23.9.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.