Hello!
I know this has been addressed before in here, ive tried doing everything listed in these posts to get it working, but non seem to help.
Ive also checked over the internet for anything to get it working, however that doesnt help either.
Im running:
Windows XP Proffesional SP2
Heres what i have installed:
jdk 1.6.0
jre 1.6.0
jogl-1_0_0-windows-i586
These are all located in my C:/Java/ directory. Ive set the classpath to point to this area, and doesnt work, i get 15 errors.
JGears.java:12: package javax.media.opengl does not exist
import javax.media.opengl.*;
^
JGears.java:13: package com.sun.opengl.util does not exist
import com.sun.opengl.util.*;
^
JGears.java:14: package demos.gears does not exist
import demos.gears.Gears;
^
JGears.java:23: cannot find symbol
symbol: class GLJPanel
public class JGears extends GLJPanel {
^
JGears.java:24: cannot find symbol
symbol : class GLCapabilities
location: class demos.jgears.JGears
private static GLCapabilities caps;
^
JGears.java:34: cannot find symbol
symbol : class GLCapabilities
location: class demos.jgears.JGears
caps = new GLCapabilities();
^
JGears.java:40: cannot find symbol
symbol : class Gears
location: class demos.jgears.JGears
addGLEventListener(new Gears());
^
JGears.java:56: cannot find symbol
symbol : variable super
location: class demos.jgears.JGears
super.paintComponent(g);
^
JGears.java:71: cannot find symbol
symbol : method getWidth()
location: class demos.jgears.JGears
g.drawString("FPS: " + format.format(fps), getWidth() - 140, getHeight() -
30);
^
JGears.java:71: cannot find symbol
symbol : method getHeight()
location: class demos.jgears.JGears
g.drawString("FPS: " + format.format(fps), getWidth() - 140, getHeight() -
30);
^
JGears.java:76: cannot find symbol
symbol : method getHeight()
location: class demos.jgears.JGears
g.drawImage(javaImage, sp, getHeight() - javaImage.getHeight() - sp, null)
;
^
JGears.java:78: cannot find symbol
symbol : method getHeight()
location: class demos.jgears.JGears
g.drawImage(openglImage, sp + javaImage.getWidth() + sp, getHeight() - o
penglImage.getHeight() - sp, null);
^
JGears.java:110: cannot find symbol
symbol : class GLJPanel
location: class demos.jgears.JGears
final GLJPanel drawable = new JGears();
^
JGears.java:126: cannot find symbol
symbol : class Animator
location: class demos.jgears.JGears
final Animator animator = new Animator(drawable);
^
JGears.java:126: cannot find symbol
symbol : class Animator
location: class demos.jgears.JGears
final Animator animator = new Animator(drawable);
^
Note: JGears.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
15 errors
I have tried putting the jogl.jar files in with JRE lib files, as well as adding the dlls to the JDK/bin folder, however these didnt seem to work. Then after following some instructions here i removed everything ive installed and do it again from scratch making sure they are all in their own folders, which they were originally anyway.
I also found this in the installation notes that come with “jogl-1_0_0-windows-i586.zip”
[quote]If you are developing a new application which uses JOGL, download both jogl.jar and the appropriate native library jar file (for example, jogl-natives-win32.jar). It is recommended to place both of these jar files in the same directory.
[/quote]
However looked everywhere on the JOGL main page and couldnt find this “jogl-natives-win32.jar” file anywhere, thinking this was a problem downloaded it from another site and added it into the directory with jogl.jar and still no luck.
Im pretty much out of ideas and posting here as a last resort, so its not like im lazy and havent tried to get it running myself or looked around, sorry if this is answered somewhere else… i couldn’t find it.
Hope someone can help me!