[scilab-Users] SOLVED: plots are still blank

Robert Key robertgordonkey at yahoo.com
Fri Oct 10 10:38:11 CEST 2008


Hi I have managed to solve my own plotting problem. Here is the solution in case anyone has the same problem:

I placed all run time libraries required by scilab in /opt/jdk1.6.0_07/jre/lib/amd64 (this would be i386 on 32 bit linux)
such as libgluegen-rt.so and all the jogl*.so. Somehow they were not found when placed in  /usr/local/lib and ldconfig then run.

I placed all the gluegen-rt.jar and jogl*.jar class libraries in /opt/jdk1.6.0_07/jre/lib/ext. If you do this then it is not necessary to include them in your CLASSPATH variable. I tried putting then in a directory and including that in the CLASSPATH but this did not work for some reason.

Now my plots and sciocos all work fantastically on linux x86_64!!!
Thanks for a great scientific software application.
Cheers and happy computing,
  Robert Key

 Rob Key



----- Original Message ----
From: Robert Key <robertgordonkey at yahoo.com>
To: users at lists.scilab.org
Sent: Thursday, October 9, 2008 2:05:41 PM
Subject: [scilab-Users] plots are still blank


Hi all,
 I use scilab 5.0.2 on linux x86_64. jogl 64 bit is installed and LD_LIBRARY_PATH and the CLASSPATH are set up correctly but I still get the error:

java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
        at org.scilab.modules.gui.bridge.tab.SwingScilabTab.draw(Unknown Source)
        at org.scilab.modules.gui.tab.ScilabTabBridge.draw(Unknown Source)
        at org.scilab.modules.gui.bridge.ScilabBridge.draw(Unknown Source)
        at org.scilab.modules.gui.tab.ScilabTab.draw(Unknown Source)
        at org.scilab.modules.gui.graphicWindow.ScilabRendererProperties.forceDi
splay(Unknown Source)
        at org.scilab.modules.renderer.figureDrawing.DrawableFigureGL.drawCanvas
(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.op
engl.impl.x11.X11GLDrawableFactory

This class com.sun.opengl.impl.x11.X11GLDrawableFactory exists in the gluegen-rt.jar and is in the classpath.
Also all the libgluegen-rt.so and related libraries are in the LD_LIBRARY_PATH and ldconfig has been run many times.

How can I correct this.
Many thanks,

 Rob Key


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20081010/e6079249/attachment.htm>


More information about the users mailing list