Results 1 to 6 of 6
Thread: Installing JOGL
- 07-15-2009, 05:51 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 2
- Rep Power
- 0
Installing JOGL
Hi, I want to try messing around with 3d in Java, and after a little searching it looks like JOGL would be the best way to go about this. I'm trying to install it, but for unknown reasons this is failing. First, background:
-Using Eclipse IDE
-Using jre1.6.0_07
-Using Windows Vista 64-bit
So anyway, I looked for the most recent JOGL download zip, which seemed to be jogl-1.1.2-pre-20080523-windows-amd64.zip (as of when I downloaded it a few months ago).
Then, in following with a tutorial thingy I found, I copied jogl.dll into the \bin\ folder in my JRE installation, and jogl.jar + gluegen-rt.jar into the \lib\ext\ folder. This looked to be all I needed to do, according to the tutorial.
Anyway, so I went into Eclipse, and set up the following code as per another tutorial I found. This theoretically should be testing to make sure my installation works.
At any rate, the crux of the problem is, Eclipse is saying the import at the top of that code is invalid because it can't find net.java.games.jogl. Does anyone know what I'm doing wrong with my installing? I haven't actually added any Java extensions before so I'm kind of new with this.Java Code:import net.java.games.jogl.*; public class HelloWorld { public static void main (String args[]) { try { System.loadLibrary("jogl"); System.out.println( "Hello World! (The native libraries are installed.)" ); GLCapabilities caps = new GLCapabilities(); System.out.println( "Hello JOGL! (The jar appears to be available.)" ); } catch (Exception e) { System.out.println(e); } } }
Thanks a bunch!
Edit: I changed the import to javax.media.opengl.*; which now seems to be working (for the example above). However, when I try to run the tetrahedron example provided on the Wikipedia page about JOGL, a white window pops up but freezes, and the console goes crazy with errors. The main error looks like the following, though - "no jogl_awt in java.library.path" Not quite sure what that means. How should I proceed to get the Wikipedia example working?
Thanks again.Last edited by RandomTree; 07-15-2009 at 06:18 AM.
- 09-27-2011, 12:45 AM #2
Member
- Join Date
- Sep 2011
- Posts
- 1
- Rep Power
- 0
Re: Installing JOGL
try Re-installing JOGL using this application here, It may not work but please tell me how it goes
- 09-27-2011, 01:21 AM #3
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
- 09-27-2011, 01:45 AM #4
Member
- Join Date
- Jul 2009
- Posts
- 2
- Rep Power
- 0
Re: Installing JOGL
Yup, I've had JOGL working on my machine for a very long time now (so long that I can't remember how I fixed this particular problem). Still, thanks for not letting this thread go unanswered! Long waits do not mean original posters aren't still watching (especially with email notification that someone has posted on their thread ;) )
- 12-21-2012, 09:00 AM #5
Member
- Join Date
- Dec 2012
- Posts
- 3
- Rep Power
- 0
Re: Installing JOGL
A more recent answer can be found here.
CacoInstaller is not officially supported by the JogAmp Foundation and should not be used to install JOGL 2.0.
- 12-21-2012, 09:26 AM #6
Similar Threads
-
HELP installing JDK please!
By trucutru in forum New To JavaReplies: 9Last Post: 01-17-2009, 06:31 AM -
Installing j2s in eclipse3.4
By ravjot28 in forum EclipseReplies: 0Last Post: 07-07-2008, 06:51 PM -
installing j2s
By ravjot28 in forum EclipseReplies: 9Last Post: 06-27-2008, 11:10 AM -
JOGL and texturing
By Archange in forum Java 2DReplies: 0Last Post: 06-06-2008, 02:42 PM -
Installing JMF
By vinnieza in forum EclipseReplies: 0Last Post: 05-04-2008, 07:11 PM


LinkBack URL
About LinkBacks


Bookmarks