ljubisa
unread,Jun 15, 2011, 7:39:26 AM6/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jzy3d
I got it to work in eclipse, I have followed the instructions in the
"frequently asked questions" segment, but I can not get it to work as
a standalone JAR file :( and I'm stuck
please help - this is the error:
D:\!My Documents\!BSC Projekat\eclipse2\Eclipse1\proba - vizuelizacija
new sa up
akovanim DLL\export>java -jar vizuelizacija_v1_upakovani_DLL_JAR.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:
56)
Caused by: java.lang.UnsatisfiedLinkError: no jogl in
java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at
com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:
178)
at com.sun.opengl.impl.NativeLibLoader.access
$000(NativeLibLoader.java:48)
at com.sun.opengl.impl.NativeLibLoader
$DefaultAction.loadLibrary(NativeLibLoader.java:79)
at
com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:
102)
at com.sun.opengl.impl.NativeLibLoader.access
$200(NativeLibLoader.java:48)
at com.sun.opengl.impl.NativeLibLoader
$1.run(NativeLibLoader.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:108)
at
com.sun.opengl.impl.windows.WindowsGLDrawableFactory.<clinit>(Windows
GLDrawableFactory.java:60)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:
106)
at
javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:
409)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:117)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:86)
at
org.jzy3d.plot3d.rendering.canvas.CanvasAWT.<init>(CanvasAWT.java:45)
at
org.jzy3d.plot3d.rendering.canvas.CanvasAWT.<init>(CanvasAWT.java:40)
at org.jzy3d.chart.Chart.initializeCanvas(Chart.java:65)
at org.jzy3d.chart.Chart.<init>(Chart.java:56)
at CustomGraph.<init>(CustomGraph.java:492)
at Visualizer.<init>(Visualizer.java:221)
at Visualizer.main(Visualizer.java:227)
... 5 more
also I did not understand the description:
-----
2. I have checked out the sources but I don't know how to generate the
jars.
You should run the build.xml file at the project root. Its default
target simply releases the API. If you are working with Eclipse,
select folders "src/api" and "src/bridge", right click the selection,
click "export" and then "jar".
-----
can't find the build.xml in the root of the examples, also the folders
"src/api" and "src/bridge" does not exist!
:(