Results 1 to 6 of 6

Thread: Installing JOGL

  1. #1
    RandomTree is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default 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.

    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);
          }
       }
    }
    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.

    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.

  2. #2
    Cyrilinc is offline Member
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    Default Re: Installing JOGL

    try Re-installing JOGL using this application here, It may not work but please tell me how it goes

  3. #3
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default Re: Installing JOGL

    Quote Originally Posted by Cyrilinc View Post
    try Re-installing JOGL using this application here, It may not work but please tell me how it goes
    FYI the original post is over 2 years old - I'd presume the original poster has solved the problem or moved on.

  4. #4
    RandomTree is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default 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 ;) )

  5. #5
    gouessej is offline Member
    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Default Re: Installing JOGL

    A more recent answer can be found here.

    Quote Originally Posted by Cyrilinc View Post
    try Re-installing JOGL using this application here, It may not work but please tell me how it goes
    CacoInstaller is not officially supported by the JogAmp Foundation and should not be used to install JOGL 2.0.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default Re: Installing JOGL

    Stop bumping old threads. Any more and your responses will be removed and you may be banned for a period.

    Please feel free to post relevant responses in current threads.

    db

    THREAD CLOSED
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. HELP installing JDK please!
    By trucutru in forum New To Java
    Replies: 9
    Last Post: 01-17-2009, 06:31 AM
  2. Installing j2s in eclipse3.4
    By ravjot28 in forum Eclipse
    Replies: 0
    Last Post: 07-07-2008, 06:51 PM
  3. installing j2s
    By ravjot28 in forum Eclipse
    Replies: 9
    Last Post: 06-27-2008, 11:10 AM
  4. JOGL and texturing
    By Archange in forum Java 2D
    Replies: 0
    Last Post: 06-06-2008, 02:42 PM
  5. Installing JMF
    By vinnieza in forum Eclipse
    Replies: 0
    Last Post: 05-04-2008, 07:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •