newbie with initial problems

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

newbie with initial problems

unixnerd
I'm converting from Java3d 1.5.x to JOGL.

I had the problem described here:
https://forum.jogamp.org/getAWTgraphicsconfiguration-causes-NPE-error-td4041439.html
which I fixed using args --add-opens java.desktop/sun.awt=ALL-UNNAMED

which gets me here:

Java3D - GDI Generic Driver use detected.
This may be caused by any of the following issues.
Exception in thread "J3D-Renderer-1" java.lang.NoSuchFieldError: Version18
        at org.jogamp.java3d.JoglPipeline.setupCanvasProperties(JoglPipeline.java:8133)
        at org.jogamp.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6451)
        at org.jogamp.java3d.Canvas3D.createNewContext(Canvas3D.java:4643)
        at org.jogamp.java3d.Canvas3D.createNewContext(Canvas3D.java:2389)
        at org.jogamp.java3d.Renderer.doWork(Renderer.java:938)
        at org.jogamp.java3d.J3dThread.run(J3dThread.java:271)

I'm on jdk-17.0.5 under Windows Server 2019. I'm testing on server, will this make much differed over Windows 10? Just doing it as jdk 17 was already on here and I didn't want to mess with Java on my main production machine.


Any thoughts? Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: newbie with initial problems

unixnerd
Too little coffee today! Server = basic video card, doh! (but not a headless server)

Will try on my dev PC tomorrow. I'd have thought it'd still run though.
Reply | Threaded
Open this post in threaded view
|

Re: newbie with initial problems

philjord
Good luck,
That error tends to be accurate so hopefully it is a simple "work around"
Reply | Threaded
Open this post in threaded view
|

Re: newbie with initial problems

gouessej
Administrator
In reply to this post by unixnerd
Just install a proper OpenGL driver and it should work.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: newbie with initial problems

unixnerd
Works on a real video card :-)

Alas it has the same issue I found a few years with OrientedShape3D but I've raised another post for that.