Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: JOGL Project Template available for NetBeans 5 on: 2007-03-15 12:09:17
I also did the changes but still get the very same error message. Even tried downloading the library myself and set a path to that without any luck. I'm gonna try on a different computer to see if that makes any difference, since I get the very same error in Eclipse (even when using -Djava.library.path=path/to/natives). I've started to experimenting with OpenGL in C/C++ insead in the mean time.

Might take a week or so before I get that other computer up and running. It's a desktop and I only have a wireless connection right now, need to drill some holes and get some network cables in place. But when I'm finished I'll report back. I'm running xubuntu with an ATI-based graphics card. Should not be an issue since all examples work fine (glx gears etc).

Thanks for your help.
2  Java Game APIs & Engines / JOGL Development / Re: JOGL Project Template available for NetBeans 5 on: 2007-03-10 13:05:54
Cylab: Perhaps you should update the first post as well? I got into this forum looking for a quick way to get JOGL to work, so I used your old update-site from  the first post and ran into problems with the glugen.rt path not being specified etc. I'm gonna try with the new update site now. Natrually not everyone is as ignorant as me and reads on instead, but some dummies are bound to start bugging you because it's not working.

If it works I'm very grateful since I was looking for a quick way to get it to work and get my hands dirty. A lot of tutorials I found used the net.java.gaming package. Hard for a newbie to understand what was wrong (I installed the latest rc).

Edit: My bad, they were the same. When I try to build your test project I get this error (stack trace):

Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:68)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:66)
        at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
        at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
        at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
        at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
        at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:99)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
        at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:113)
        at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:82)
        at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:75)
        at org.yourorghere.SimpleJOGL2.main(SimpleJOGL2.java:22)
Java Result: 1


I get the same in Eclipse so perhaps this don't have anything to do with your code. I just generated your project without any changes. If anyone knows how to help me I'd be very grateful!

Edit2: Tried running with this. No change.
-Djava.library.path=/home/magnus/Filer/gluegen-rt.jar;/home/magnus/Filer/jogl.jar;/home/magnus/Filer/jogl-linux-natives-i586.jar
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (11 views)
2014-07-24 01:59:36

Riven (9 views)
2014-07-23 21:16:32

Riven (11 views)
2014-07-23 21:07:15

Riven (12 views)
2014-07-23 20:56:16

ctomni231 (42 views)
2014-07-18 06:55:21

Zero Volt (38 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (34 views)
2014-07-16 23:30:00

Cero (49 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!