Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  newbie question: unsupported version  (Read 837 times)
0 Members and 1 Guest are viewing this topic.
Offline jtrier

JGO n00b
*

Posts: 2


Java games rock!


« on: 2003-08-01 13:22:19 »

I'm getting the following error:

java.lang.UnsupportedClassVersionError: net/java/games/jogl/GLCapabilities (Unsupported major.minor version 48.0)

when I do:
          GLCapabilities glCaps = new GLCapabilities();

Is this an OpenGL or a jogl version problem.

Thanks
Offline tortoise

Full Member
**

Posts: 230


<3 Shmups


« Reply #1 on: 2003-08-01 18:45:41 »

I'll give it a shot. Usually a UnsupportedClassVersionError happens when you try to run code that was compiled in a newer JDK on an older VM.  When 1.4 came out, Sun updated the major and minor versions of classes for the first time, so 1.4 compiled classes must run in a 1.4+ VM.

I believe JOGL requires 1.4.2

Even so, I did a quick search and found people having this problem even when they're using 1.4.x across the board, so I dunno. Just a guess.

Does the error have a stack trace along with it?
Offline jtrier

JGO n00b
*

Posts: 2


Java games rock!


« Reply #2 on: 2003-08-05 11:09:58 »

Thanks for the hint.  I was using an earlier JDK.  When I switched to 1.4.2, it ran.

Joe
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.127 seconds with 21 queries.