Comments (12)
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.
Apply the above mentioned JVM flags in the VM arguments of the Run Configuration of your program.
from jogl.
How do you run the command?
- In Eclipse do as follows: Run -> Run Configurations -> Arguments
- 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
- Apply and that's it.
from jogl.
Okay thanks
from jogl.
Relates to #12
from jogl.
How would I fix this in Eclipse?
from jogl.
Thanks a bunch!
from jogl.
Thank you very much, it worked!
from jogl.
How do you run the command?
from jogl.
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.
I LOVE YOU
from jogl.
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)
- Interference/timing(?) issue on macOS when creating and destroying GLCanvas
- Caught AppContextInfo(Bug 1004) IllegalAccessException: class com.jogamp.nativewindow.awt.AppContextInfo cannot access class sun.awt.AppContext (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @34a3d150 on thread main
- Unable to determine graphics configuration on Windows / ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1 HOT 2
- EGLGLXDrawableFactory - Could not initialize shared resources for EGLGraphicsDevice[type .egl, v1.4.0, connection decon, unitID 0, handle 0x1bf7963a070, owner true, NullToolkitLock[obj 0xe8146cb]] HOT 2
- Support SWT 4.21 HOT 1
- Github Actions to build and test Gluegen + JOGL on Mac, Windows and Linux
- TextRenderer cache invalidation
- WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3
- java.io.IOException: Could not determine a temporary executable directory HOT 4
- WorldWind get a JVM crash on Debian 5.10
- JOGL 2.4rc4 + JDK Temurin 17.02+8 + SWT 4.23 + macOS + ARM Processor = Crash w/o exception HOT 24
- Incorrect context on GLCanvas HOT 1
- UnsatisfiedLinkError with jzy3d builds only HOT 11
- Compatibility matrix for JOGL 2.4 rc4
- Hang on macOS HOT 11
- UnsatisfiedLinkError: Can't load library (nativewindow_awt, or other libs than gluegen)
- UnsatisfiedLinkError: Can't load library: .../libgluegen_rt.dylib
- GL2 -> profileImpl GL3bc !!! not mapped HOT 1
- HiDPI not supported - Win10 + GLCanvas + JDK11 + JOGL2.4 HOT 3
- JOGL 2.4 on Mac M1 has unit test failures HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jogl.