I have imported and I am attempting to run an example program from NASA World Wind (it's a mapping API). I have also recently upgraded to Java 7.
My IDE is Springsource (it is built on top of Eclipse, so Eclipse for all intensive purposes) and I am using Maven for dependency management. When running the example, I am getting the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189) at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49) at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80) at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103) at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49) at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:111) at java.security.AccessController.doPrivileged(Native Method) at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:109) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.<clinit>(WindowsGLDrawableFactory.java:60) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106) at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90) at gov.nasa.worldwind.awt.WorldWindowGLCanvas.<init>(Unknown Source) at com.apmsoftware.airlinegame.application.web.gui.panels.flight.FlightOverviewMapPanelTest.main(FlightOverviewMapPanelTest.java:30)
I somewhat understand what the exception is telling me: it cannot find jogl. Where I'm lost is that I am not sure WHERE it is looking. I do not know if "java.library.path" is referring to the system JAVA_HOME variable, Eclipse's default java version, or Maven's default java version. They all should be the same, but that is not an assumption I want to lock in until I have a better understanding of what is going on, considering that I just did the update to Java 7's JDK. Does anyone have any ideas? The internet has been pretty ambiguous for my specific situation.
Also, does anyone know how I would go about getting JOGL? If it was a normal dependency exception, I would just add it to the Maven POM, but this sounds more like a JDK thing than a project-specific dependency thing.
Any thoughts or ideas?