Giter Site home page Giter Site logo

Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sourceforge/lept4j/Boxa : Unsupported major.minor version 52.0 about lept4j HOT 4 CLOSED

SylvesterJo avatar SylvesterJo commented on August 29, 2024
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sourceforge/lept4j/Boxa : Unsupported major.minor version 52.0

from lept4j.

Comments (4)

nguyenq avatar nguyenq commented on August 29, 2024

Yes, it was compiled with JDK 1.8. To the best of my recollection, the library is not using any Java 1.8-specific API, so you can certainly rebuild it with JDK 1.7, which a developer successfully did recently.

We probably will downgrade to JDK 1.7 for the next release to accommodate larger user base.

Thanks.

from lept4j.

SylvesterJo avatar SylvesterJo commented on August 29, 2024

I checked the jars being used by the tess4j jna wrapper like lept4j, tess4j, jna, etc. All have the manifest saying these have been compiled using Java 1.8. So kindly suggest will I have to get the source Java files for these and recompile these with Java 1.7 to make this exception go away?

Regards
Sylvester

from lept4j.

nguyenq avatar nguyenq commented on August 29, 2024

All of them are available right here on github. lept4j and tess4j are straighforward to build using Maven. I can't speak for jna, though.

Quan

from lept4j.

nguyenq avatar nguyenq commented on August 29, 2024

1.3.1 has been compiled using JDK 1.8 but targeted to 1.7.

from lept4j.

Related Issues (19)

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.