Coder Social home page Coder Social logo

UnsupportedClassVersionError: STGeomFromText has been compiled by a more recent version of the Java Runtime about dremio-udf-gis HOT 8 CLOSED

sheinbergon avatar sheinbergon commented on June 4, 2024
UnsupportedClassVersionError: STGeomFromText has been compiled by a more recent version of the Java Runtime

from dremio-udf-gis.

Comments (8)

jaysnm avatar jaysnm commented on June 4, 2024 1

Thanks for reverting Idan. I don't know how starring slipped out of my mind after creating the issue, I was up to starring and I have already.

You answered my query in full, Thanks!

from dremio-udf-gis.

sheinbergon avatar sheinbergon commented on June 4, 2024

Hi.

Thank you for the warm words (starring == caring)
For your issue - Dremio 20.x now supports JDK 11, and this code is compiled for JDK11.
I'd strongly recommend migrating your installation to JDK 11, which can now use more advanced GC as part of the mainline build (Shenandoah/ZGC) (starting from 11.0.9).

I'll perhaps add JDK8 build target in an upcoming release. If you can't migrate to JDK11 and must use a JDK8 build, let me know and I'll help you out 😄

As for more usage samples - for now, you can follow Drill for usage direcative.
But you are correct, I'll add more sample to this GH project soon.

from dremio-udf-gis.

bigfacewo avatar bigfacewo commented on June 4, 2024

@jaysnm It seems that dremio OSS cannot be compiled in JDK 11. Is there any relevant document to share?
thank you

from dremio-udf-gis.

sheinbergon avatar sheinbergon commented on June 4, 2024

@bigfacewo please open a separate issue describing your errors in detail, 10x

from dremio-udf-gis.

jaysnm avatar jaysnm commented on June 4, 2024

Hello @bigfacewo

I did not compile dremio from source but rather used already compiled archives from dremio download server. Perhaps you may want to create a new issue for this!

from dremio-udf-gis.

bigfacewo avatar bigfacewo commented on June 4, 2024

@jaysnm "Dremio community" 20.1 should be compiled in "JDK1.8" or "jdk1.9". This is the definition of JDK version in Maven:https://github.com/dremio/dremio-oss/blob/31bc9b7ce0aa88ac2ab8ebcbc9fb69fb0d2744a8/pom.xml#L524

I tried to modify the definition and compile using jdk11, but it didn't succeed, so I want to know, even if dremio uses jdk1.8 compilation, can it also run in JDK 11? I don't know this very well.

from dremio-udf-gis.

jaysnm avatar jaysnm commented on June 4, 2024

I downloaded this tar ball and it just works fine with jdk11. My be I am doing something wrong but it works!

from dremio-udf-gis.

bigfacewo avatar bigfacewo commented on June 4, 2024

@jaysnm Thank you for telling me that.

from dremio-udf-gis.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.