I am new to both JOGL and Java. I’m trying to get started with JOGL, but can’t seem to get it to work on my machine.
I’ve installed both the newest release of JOGL, and the September 2003 version. I’ve copied all the files in both to every Java related directory I can think of, including System32. I can compile this code(via command prompt):
import java.io.*;
public class UserInput {
public static void main(String [] args) throws IOException {
System.loadLibrary(“jogl”);
}
}
But not run it, when I do, I get this:
“Error: java.exe, Unable to locate component
The application had failed to start because jawt.dll was not found. Re-installing the application may fix this problem.”
Followed by this(command prompt):
C:\Documents and Settings\Family\JavaSource>javac UserInput.java
C:\Documents and Settings\Family\JavaSource>java UserInput
Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\Program Files\Java
\j2re1.4.1_07\bin\jogl.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at UserInput.main(UserInput.java:6)
C:\Documents and Settings\Family\JavaSource>java UserInput
Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\Program Files\Java
\j2re1.4.1_07\bin\jogl.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at UserInput.main(UserInput.java:6)
Please help! I really want to get started with JOGL, but this is a really big hold up.