More on Netbeans 6.1 and JOGL - Graphics

This is a discussion on More on Netbeans 6.1 and JOGL - Graphics ; OK so having given up on Windows, I've now installed the JOGL plugin under Netbeans 6.1 on Linux (Ubuntu) but I still can't see the libraries. I've tried javax.media.opengl and net.games.opengl but neither are in my list under rt so ...

+ Reply to Thread
Results 1 to 8 of 8

More on Netbeans 6.1 and JOGL

  1. Default More on Netbeans 6.1 and JOGL

    OK so having given up on Windows, I've now installed the JOGL plugin under
    Netbeans 6.1 on Linux (Ubuntu) but I still can't see the libraries.

    I've tried

    javax.media.opengl

    and

    net.games.opengl

    but neither are in my list under rt so I can't import from them. Plz -
    what am I doing wrong?



  2. Default Re: More on Netbeans 6.1 and JOGL

    lk wrote:
    > OK so having given up on Windows, I've now installed the JOGL plugin under
    > Netbeans 6.1 on Linux (Ubuntu) but I still can't see the libraries.
    >
    > I've tried
    >
    > javax.media.opengl
    >
    > and
    >
    > net.games.opengl
    >
    > but neither are in my list under rt so I can't import from them. Plz -
    > what am I doing wrong?
    >
    >


    Not sure where 'net.games.opengl' comes from.

    Can you not try javac and java (outside of Netbeans) on one of the
    minimal examples (e.g. the one from Gene David I posted some time ago),
    just to see whether at least Jogl is installed properly?

    Jon C.

  3. Default Re: More on Netbeans 6.1 and JOGL


    "Jonathan Campbell" <jg.campbell.ng@gmail.com> wrote in message
    news:8wlik.5714$Eo3.1670@newsfe14.ams2...
    > lk wrote:
    >> OK so having given up on Windows, I've now installed the JOGL plugin
    >> under Netbeans 6.1 on Linux (Ubuntu) but I still can't see the libraries.
    >>
    >> I've tried
    >>
    >> javax.media.opengl
    >>
    >> and
    >>
    >> net.games.opengl
    >>
    >> but neither are in my list under rt so I can't import from them. Plz -
    >> what am I doing wrong?

    >
    > Not sure where 'net.games.opengl' comes from.
    >
    > Can you not try javac and java (outside of Netbeans) on one of the minimal
    > examples (e.g. the one from Gene David I posted some time ago), just to
    > see whether at least Jogl is installed properly?
    >
    > Jon C.


    OK - I'll give that a try - but one question in the meantime: If I've
    installed the JOGL netbeans plugin - is there anything else I need to do?

    Cheers



  4. Default Re: More on Netbeans 6.1 and JOGL

    lk wrote:
    > "Jonathan Campbell" <jg.campbell.ng@gmail.com> wrote in message
    > news:8wlik.5714$Eo3.1670@newsfe14.ams2...
    >> lk wrote:
    >>> OK so having given up on Windows, I've now installed the JOGL plugin
    >>> under Netbeans 6.1 on Linux (Ubuntu) but I still can't see the libraries.
    >>>
    >>> I've tried
    >>>
    >>> javax.media.opengl
    >>>
    >>> and
    >>>
    >>> net.games.opengl
    >>>
    >>> but neither are in my list under rt so I can't import from them. Plz -
    >>> what am I doing wrong?

    >> Not sure where 'net.games.opengl' comes from.
    >>
    >> Can you not try javac and java (outside of Netbeans) on one of the minimal
    >> examples (e.g. the one from Gene David I posted some time ago), just to
    >> see whether at least Jogl is installed properly?
    >>
    >> Jon C.

    >
    > OK - I'll give that a try - but one question in the meantime: If I've
    > installed the JOGL netbeans plugin - is there anything else I need to do?
    >
    > Cheers
    >
    >


    Done just now because I switched from Fedora to Ubuntu (8.04?) and had
    no jogl installed.

    If you downloaded Jogl and unzipped, you should have (forget my
    /home/software/):

    root@xyz:/home/software# ll /home/software/jogl-1.1.1-linux-i586/lib/
    total 2528
    -rw-r--r-- 1 root root 18416 2008-05-22 03:00 gluegen-rt.jar
    -rw-r--r-- 1 root root 1126370 2008-05-22 03:00 jogl.jar
    -rw-r--r-- 1 root root 7199 2008-05-22 03:00 libgluegen-rt.so
    -rw-r--r-- 1 root root 8997 2008-05-22 03:00 libjogl_awt.so
    -rw-r--r-- 1 root root 191882 2008-05-22 03:00 libjogl_cg.so
    -rw-r--r-- 1 root root 1212542 2008-05-22 03:00 libjogl.so
    root@xyz:/home/software#

    Here is where Ubuntu installed Sun Java:

    cd /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/

    root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15# ll
    total 64
    drwxr-xr-x 3 root root 4096 2008-06-18 16:43 bin/
    lrwxrwxrwx 1 root root 13 2008-06-18 16:43 COPYRIGHT -> jre/COPYRIGHT
    drwxr-xr-x 8 root root 4096 2008-06-18 16:43 demo/
    drwxr-xr-x 2 root root 4096 2008-03-26 01:27 ext/
    drwxr-xr-x 3 root root 4096 2008-06-18 16:43 include/
    drwxr-xr-x 7 root root 4096 2008-06-18 16:43 jre/
    drwxr-xr-x 3 root root 4096 2008-07-25 16:11 lib/
    lrwxrwxrwx 1 root root 11 2008-06-18 16:43 LICENSE -> jre/LICENSE
    drwxr-xr-x 4 root root 4096 2008-06-18 16:43 man/
    -rw-r--r-- 1 root root 32535 2006-12-01 04:58 README.html
    drwxr-xr-x 4 root root 4096 2008-06-18 16:43 sample/
    lrwxrwxrwx 1 root root 31 2008-06-18 16:43
    THIRDPARTYLICENSEREADME.txt -> jre/THIRDPARTYLICENSEREADME.txt
    root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15#

    copy everything in the downloaded /lib/ into

    jre/lib/i386/

    Because I was trying everything (my current Ubuntu setup ss different
    from the Fedora setup I had when I last worked on jogl), I have jogl.jar
    duplicates as follows, but I think all unnecessarily:

    /usr/lib/jvm/java-1.5.0-sun-1.5.0.15# find . -name jogl.jar
    ../jre/lib/ext/jogl.jar
    ../lib/ext/jogl.jar
    ../lib/jogl.jar
    root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15#

    Incidentally, I installed Sun Java using:

    apt-get install sun-java5-jdk

    After all that, my simple examples compiled and ran; the Java (java
    command) interpreter did issue complaints that I didn't see before, but
    images appeared!

    Hope this helps,

    Jon C.

  5. Default Re: More on Netbeans 6.1 and JOGL

    Jonathan Campbell wrote:
    > lk wrote:
    >> "Jonathan Campbell" <jg.campbell.ng@gmail.com> wrote in message


    The examples, from Gene Davis, I used to test are in

    http://www.jgcampbell.com/tmp/ch03.zip

    Jon C.

  6. Default Re: More on Netbeans 6.1 and JOGL


    "Jonathan Campbell" <jg.campbell.ng@gmail.com> wrote in message
    news:Urnik.365$zA7.272@newsfe28.ams2...
    > lk wrote:
    >> "Jonathan Campbell" <jg.campbell.ng@gmail.com> wrote in message
    >> news:8wlik.5714$Eo3.1670@newsfe14.ams2...
    >>> lk wrote:
    >>>> OK so having given up on Windows, I've now installed the JOGL plugin
    >>>> under Netbeans 6.1 on Linux (Ubuntu) but I still can't see the
    >>>> libraries.
    >>>>
    >>>> I've tried
    >>>>
    >>>> javax.media.opengl
    >>>>
    >>>> and
    >>>>
    >>>> net.games.opengl
    >>>>
    >>>> but neither are in my list under rt so I can't import from them.
    >>>> Plz - what am I doing wrong?
    >>> Not sure where 'net.games.opengl' comes from.
    >>>
    >>> Can you not try javac and java (outside of Netbeans) on one of the
    >>> minimal examples (e.g. the one from Gene David I posted some time ago),
    >>> just to see whether at least Jogl is installed properly?
    >>>
    >>> Jon C.

    >>
    >> OK - I'll give that a try - but one question in the meantime: If I've
    >> installed the JOGL netbeans plugin - is there anything else I need to do?
    >>
    >> Cheers

    >
    > Done just now because I switched from Fedora to Ubuntu (8.04?) and had no
    > jogl installed.
    >
    > If you downloaded Jogl and unzipped, you should have (forget my
    > /home/software/):
    >
    > root@xyz:/home/software# ll /home/software/jogl-1.1.1-linux-i586/lib/
    > total 2528
    > -rw-r--r-- 1 root root 18416 2008-05-22 03:00 gluegen-rt.jar
    > -rw-r--r-- 1 root root 1126370 2008-05-22 03:00 jogl.jar
    > -rw-r--r-- 1 root root 7199 2008-05-22 03:00 libgluegen-rt.so
    > -rw-r--r-- 1 root root 8997 2008-05-22 03:00 libjogl_awt.so
    > -rw-r--r-- 1 root root 191882 2008-05-22 03:00 libjogl_cg.so
    > -rw-r--r-- 1 root root 1212542 2008-05-22 03:00 libjogl.so
    > root@xyz:/home/software#
    >
    > Here is where Ubuntu installed Sun Java:
    >
    > cd /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/
    >
    > root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15# ll
    > total 64
    > drwxr-xr-x 3 root root 4096 2008-06-18 16:43 bin/
    > lrwxrwxrwx 1 root root 13 2008-06-18 16:43 COPYRIGHT -> jre/COPYRIGHT
    > drwxr-xr-x 8 root root 4096 2008-06-18 16:43 demo/
    > drwxr-xr-x 2 root root 4096 2008-03-26 01:27 ext/
    > drwxr-xr-x 3 root root 4096 2008-06-18 16:43 include/
    > drwxr-xr-x 7 root root 4096 2008-06-18 16:43 jre/
    > drwxr-xr-x 3 root root 4096 2008-07-25 16:11 lib/
    > lrwxrwxrwx 1 root root 11 2008-06-18 16:43 LICENSE -> jre/LICENSE
    > drwxr-xr-x 4 root root 4096 2008-06-18 16:43 man/
    > -rw-r--r-- 1 root root 32535 2006-12-01 04:58 README.html
    > drwxr-xr-x 4 root root 4096 2008-06-18 16:43 sample/
    > lrwxrwxrwx 1 root root 31 2008-06-18 16:43
    > THIRDPARTYLICENSEREADME.txt -> jre/THIRDPARTYLICENSEREADME.txt
    > root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15#
    >
    > copy everything in the downloaded /lib/ into
    >
    > jre/lib/i386/
    >
    > Because I was trying everything (my current Ubuntu setup ss different from
    > the Fedora setup I had when I last worked on jogl), I have jogl.jar
    > duplicates as follows, but I think all unnecessarily:
    >
    > /usr/lib/jvm/java-1.5.0-sun-1.5.0.15# find . -name jogl.jar
    > ./jre/lib/ext/jogl.jar
    > ./lib/ext/jogl.jar
    > ./lib/jogl.jar
    > root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15#
    >
    > Incidentally, I installed Sun Java using:
    >
    > apt-get install sun-java5-jdk
    >
    > After all that, my simple examples compiled and ran; the Java (java
    > command) interpreter did issue complaints that I didn't see before, but
    > images appeared!
    >
    > Hope this helps,
    >
    > Jon C.


    Where did you get your original jogl zip from? I got mine from the jogl
    homepage but it doesn't have gluejen and several others that you've listed
    above.

    Cheers



  7. Default Re: More on Netbeans 6.1 and JOGL

    lk wrote:
    > "Jonathan Campbell" <jg.campbell.ng@gmail.com> wrote in message
    > news:Urnik.365$zA7.272@newsfe28.ams2...
    >> lk wrote:
    >>> "Jonathan Campbell" <jg.campbell.ng@gmail.com> wrote in message
    >>> news:8wlik.5714$Eo3.1670@newsfe14.ams2...
    >>>> lk wrote:
    >>>>> OK so having given up on Windows, I've now installed the JOGL plugin
    >>>>> under Netbeans 6.1 on Linux (Ubuntu) but I still can't see the
    >>>>> libraries.
    >>>>>
    >>>>> I've tried
    >>>>>
    >>>>> javax.media.opengl
    >>>>>
    >>>>> and
    >>>>>
    >>>>> net.games.opengl
    >>>>>
    >>>>> but neither are in my list under rt so I can't import from them.
    >>>>> Plz - what am I doing wrong?
    >>>> Not sure where 'net.games.opengl' comes from.
    >>>>
    >>>> Can you not try javac and java (outside of Netbeans) on one of the
    >>>> minimal examples (e.g. the one from Gene David I posted some time ago),
    >>>> just to see whether at least Jogl is installed properly?
    >>>>
    >>>> Jon C.
    >>> OK - I'll give that a try - but one question in the meantime: If I've
    >>> installed the JOGL netbeans plugin - is there anything else I need to do?
    >>>
    >>> Cheers

    >> Done just now because I switched from Fedora to Ubuntu (8.04?) and had no
    >> jogl installed.
    >>
    >> If you downloaded Jogl and unzipped, you should have (forget my
    >> /home/software/):
    >>
    >> root@xyz:/home/software# ll /home/software/jogl-1.1.1-linux-i586/lib/
    >> total 2528
    >> -rw-r--r-- 1 root root 18416 2008-05-22 03:00 gluegen-rt.jar
    >> -rw-r--r-- 1 root root 1126370 2008-05-22 03:00 jogl.jar
    >> -rw-r--r-- 1 root root 7199 2008-05-22 03:00 libgluegen-rt.so
    >> -rw-r--r-- 1 root root 8997 2008-05-22 03:00 libjogl_awt.so
    >> -rw-r--r-- 1 root root 191882 2008-05-22 03:00 libjogl_cg.so
    >> -rw-r--r-- 1 root root 1212542 2008-05-22 03:00 libjogl.so
    >> root@xyz:/home/software#
    >>
    >> Here is where Ubuntu installed Sun Java:
    >>
    >> cd /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/
    >>
    >> root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15# ll
    >> total 64
    >> drwxr-xr-x 3 root root 4096 2008-06-18 16:43 bin/
    >> lrwxrwxrwx 1 root root 13 2008-06-18 16:43 COPYRIGHT -> jre/COPYRIGHT
    >> drwxr-xr-x 8 root root 4096 2008-06-18 16:43 demo/
    >> drwxr-xr-x 2 root root 4096 2008-03-26 01:27 ext/
    >> drwxr-xr-x 3 root root 4096 2008-06-18 16:43 include/
    >> drwxr-xr-x 7 root root 4096 2008-06-18 16:43 jre/
    >> drwxr-xr-x 3 root root 4096 2008-07-25 16:11 lib/
    >> lrwxrwxrwx 1 root root 11 2008-06-18 16:43 LICENSE -> jre/LICENSE
    >> drwxr-xr-x 4 root root 4096 2008-06-18 16:43 man/
    >> -rw-r--r-- 1 root root 32535 2006-12-01 04:58 README.html
    >> drwxr-xr-x 4 root root 4096 2008-06-18 16:43 sample/
    >> lrwxrwxrwx 1 root root 31 2008-06-18 16:43
    >> THIRDPARTYLICENSEREADME.txt -> jre/THIRDPARTYLICENSEREADME.txt
    >> root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15#
    >>
    >> copy everything in the downloaded /lib/ into
    >>
    >> jre/lib/i386/
    >>
    >> Because I was trying everything (my current Ubuntu setup ss different from
    >> the Fedora setup I had when I last worked on jogl), I have jogl.jar
    >> duplicates as follows, but I think all unnecessarily:
    >>
    >> /usr/lib/jvm/java-1.5.0-sun-1.5.0.15# find . -name jogl.jar
    >> ./jre/lib/ext/jogl.jar
    >> ./lib/ext/jogl.jar
    >> ./lib/jogl.jar
    >> root@xyz:/usr/lib/jvm/java-1.5.0-sun-1.5.0.15#
    >>
    >> Incidentally, I installed Sun Java using:
    >>
    >> apt-get install sun-java5-jdk
    >>
    >> After all that, my simple examples compiled and ran; the Java (java
    >> command) interpreter did issue complaints that I didn't see before, but
    >> images appeared!
    >>
    >> Hope this helps,
    >>
    >> Jon C.

    >
    > Where did you get your original jogl zip from? I got mine from the jogl
    > homepage but it doesn't have gluejen and several others that you've listed
    > above.
    >
    > Cheers
    >
    >


    https://jogl.dev.java.net/

    Click on 'Current release build'.

    Jon C.

  8. Default Re: More on Netbeans 6.1 and JOGL

    hi.. im new to java and JOGL and trying to execute some sample codes. I too get the same error - javax.media.opengl does not exist. I searched for this folder in my javax media folder but it is missing.. any solutions? i've tried installing JMF but doesn work. thnk u

+ Reply to Thread