Giter Club home page Giter Club logo

Comments (5)

alper50 avatar alper50 commented on July 17, 2024 1

@Manodiestra
java --version output is = openjdk 17.0.1 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12)
OpenJDK 64-Bit Server VM (build 17.0.1+12, mixed mode)

and ı decided to run java --illegal-access=permit -jar my.jar but the output is = ' Error: Unable to access jarfile my.jar '

from jmavsim.

Manodiestra avatar Manodiestra commented on July 17, 2024

The issue was the use of OpenJDK. The project requires a proprietary JDK to build.

from jmavsim.

jzy3d avatar jzy3d commented on July 17, 2024

You may also keep your existing JDK 16 and use JVM option --illegal-access=permit

jzy3d/jogl#11

from jmavsim.

alper50 avatar alper50 commented on July 17, 2024

can someone help me ı am getting same error but ı couldnt understand the answers, detailed answer could be useful. I have both jdk(17.02) and open-jdk(17.01)

from jmavsim.

Manodiestra avatar Manodiestra commented on July 17, 2024

@alper50
In your terminal run java --version and see what it spits out. If it's pulling OpenJDK, then either uninstall it or switch the default Java JDK in your shell PATH to point to the proprietary JDK.

Or you can try doing what @jzy3d suggested and run java --illegal-access=permit -jar my.jar instead of java -jar my.jar.

from jmavsim.

Related Issues (20)

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.