[distributor] FreeBSD - no jogl in java.library.path
Rob Farmer
rfarmer at predatorlabs.net
Thu Aug 19 07:27:53 CEST 2010
On Sun, Aug 15, 2010 at 12:52 PM, Sylvestre Ledru
<sylvestre.ledru at scilab.org> wrote:
> Oups Rob. I am very sorry. I missed your email.
>
>
> Le jeudi 22 juillet 2010 à 15:45 -0700, Rob Farmer a écrit :
>> On FreeBSD with Scilab 5.2.2, I am getting the following upon opening
>> the demos menu and selecting GUI:
>>
>> terminate called after throwing an instance of
>> 'GiwsException::JniCallMethodException'
>> what(): Exception when calling Java method : no jogl in java.library.path
> [...]
>
>> at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl.<clinit>(Unknown
>> Source)
>> at org.scilab.modules.gui.bridge.CallScilabBridge.useCanvasForDisplay(Unknown
>> Source)
>>
>> It seem Scilab isn't able to find jogl, but I'm not sure how to tell
>> it where to look. jogl.jar exists in /usr/local/share/java/classes/
> Actually, it searches for the native jogl libraries (the native one).
Ok - that would be the problem. I was trying the path to the jar file,
but the Freebsd puts the .so files in a different place (just
/usr/local/lib/). Using that path works.
Thanks,
--
Rob Farmer
>
> For example, under Debian:
> $ dpkg -L libjogl-jni|grep .so
> /usr/lib/jni/libjogl_awt.so
> /usr/lib/jni/libgluegen-rt.so
> /usr/lib/jni/libjogl.so
>
>
>> After these changes, Scilab seems to recognize the new path, but still crashes:
> When it crashes here, do you get the same error message ?
>
>
> Cheers,
> Sylvestre
> --
> -------------------------
> Sylvestre Ledru
> -------------------------
> The Scilab Consortium
> Digiteo
> Domaine de Voluceau
> Rocquencourt - B.P. 105
> 78153 Le Chesnay Cedex
> France
>
>
More information about the distributor
mailing list