Binding and executing JOGL with Windows 7 64 Bit

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

Binding and executing JOGL with Windows 7 64 Bit

Bernhard Kilger
I'm not able, by no means, to run an OpenGL application under 64Bit-Windows 7. Compiling the source runs without errors, but the execution always leads to a ClassCastException (like "java.nio.DirectByteBuffer cannot be cast to ..."). This message appears just in the moment I try to add the GLCanvas to my JPanel. At this time, the JFrame is built already correctly. This matter is confusing to me, because exact the same program runs correctly using Windows 32Bit.
Many thanks for any help: bernhard.kilger@t-online.de
Reply | Threaded
Open this post in threaded view
|

Re: Binding and executing JOGL with Windows 7 64 Bit

gouessej
Administrator
Hello

Please post the full stack trace and a SSCCE.
Julien Gouesse | Personal blog | Website