GithubHelp home page GithubHelp logo

Comments (12)

jzy3d avatar jzy3d commented on July 29, 2024 5

As mentioned in the JOGL bugzilla ticket, running the JVM with

--add-exports java.base/java.lang=ALL-UNNAMED
--add-exports java.desktop/sun.awt=ALL-UNNAMED
--add-exports java.desktop/sun.java2d=ALL-UNNAMED

fixes the problem

from jogl.

jzy3d avatar jzy3d commented on July 29, 2024 3

Apply the above mentioned JVM flags in the VM arguments of the Run Configuration of your program.

from jogl.

ethan-colin avatar ethan-colin commented on July 29, 2024 1

How do you run the command?

  1. In Eclipse do as follows: Run -> Run Configurations -> Arguments
  2. Then write as follows in the text field under VM arguments:

--add-exports java.base/java.lang=ALL-UNNAMED
--add-exports java.desktop/sun.awt=ALL-UNNAMED
--add-exports java.desktop/sun.java2d=ALL-UNNAMED

  1. Apply and that's it.

from jogl.

PhilipModDev avatar PhilipModDev commented on July 29, 2024 1

Okay thanks

from jogl.

jzy3d avatar jzy3d commented on July 29, 2024

Relates to #12

from jogl.

Dude-Guy-Man avatar Dude-Guy-Man commented on July 29, 2024

How would I fix this in Eclipse?

from jogl.

Dude-Guy-Man avatar Dude-Guy-Man commented on July 29, 2024

Thanks a bunch!

from jogl.

ethan-colin avatar ethan-colin commented on July 29, 2024

Thank you very much, it worked!

from jogl.

PhilipModDev avatar PhilipModDev commented on July 29, 2024

How do you run the command?

from jogl.

bszandras avatar bszandras commented on July 29, 2024

Can someone help me how to fix this in VSCode? I put the above arguments in the launch.json args and it does not fix the issue.

from jogl.

revkelo avatar revkelo commented on July 29, 2024

I LOVE YOU

from jogl.

KinManZHR avatar KinManZHR commented on July 29, 2024

I have finished. but when I convert jar to exe, I don't know where to add this command. And error are here: Executing: D:\Desktop\inni\see.exe
Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Unable to determine GraphicsConfiguration: WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x46541013]], idx 0], pfdID 9, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]],
chosen GLCaps[wgl vid 9 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4/GL4.hw], on-scr[.]]]

from jogl.

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.