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  
  Using Jogl  (Read 3083 times)
0 Members and 1 Guest are viewing this topic.
Offline dotandcross

JGO n00b
*

Posts: 14


I'm a Java Bean


« on: 2003-06-25 08:07:35 »

I have a set of the Jogl bindings. Included are

1) jogl.dll
2) jogl.jar

How do I set up the environment to make use of the Jogl bindings?

I get this error :

Gears.java:38: cannot access net.java.games.jogl.GLEventListener
bad class file: C:\jogl\net\java\games\jogl\GLEventListener.class
class file has wrong version 48.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
 static class GearRenderer implements GLEventListener, MouseListener, MouseMotionListener {
Offline Rob Grzywinski

Jr. Member
**

Posts: 81


Reality Interactive


« Reply #1 on: 2003-06-25 09:00:39 »

We're going to need a bit more info to help:

1.  Did you create JOGL yourself or did you download it (and if the latter, from where)?
2.  What OS / JVM?  (Problems like this are common with old JDK 1.4.0 betas)
3.  Did you compile the demos against the JOGL from #1 or are they from two different sources?
Offline dotandcross

JGO n00b
*

Posts: 14


I'm a Java Bean


« Reply #2 on: 2003-06-25 09:05:30 »

well...

1) I received the bindings from Pepijn(GL4Java guy)

2)I am using Windows Xp Sun jdk 1.3.1_01

3)The Gears demo came with the binaries
Games published by our own members! Go get 'em!
Offline Athomas Goldberg

Sr. Member
**

Posts: 284


Grrrrrr...


« Reply #3 on: 2003-06-25 09:10:31 »

Quote

2)I am using Windows Xp Sun jdk 1.3.1_01


jogl was compiled against 1.4.2, so this is most likely your problem

Athomas Goldberg
Project Lead / Wildcard
Game Technologies Group
Sun Microsystems, Inc.
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #4 on: 2003-06-25 10:25:24 »

Yes, JOGL is designed for J2SE 1.4 and above and makes heavy use of 1.4-specific features such as New I/O.
Offline dotandcross

JGO n00b
*

Posts: 14


I'm a Java Bean


« Reply #5 on: 2003-06-25 11:32:15 »

Thanks!!
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.098 seconds with 21 queries.