[Scilab-users] scilab 5.5.0 binary running under Mac OS X.9 Mavericks, anyone?

Nicolas FEZANS nicolas.fezans at gmail.com
Sat Apr 26 00:36:22 CEST 2014


Thank you Adam, your answer helped a lot!

Indeed, I had the apple jdk in version 1.6.0_43-b01-447 and you said that
you have the apple jdk in version 1.6.0_65-b14-462-11M4609, so your version
was slightly newer than mine. So I went to look at the download pages on
the Apple website and look for a more recent update (not all updates seem
to go through the Mac App Store app) and found that one:
http://support.apple.com/kb/DL1572

So after I downloaded it and installed it... voilà ! Scilab is now starting
and seems (at least at first) to work properly. My guess would be that the
difference between both versions is not causing this difference of behavior
directly, but rather that the installer of the update somehow restored some
links or symlinks that were not configured properly (or as Scilab expected
them to be) before.

Looking at the console output, the libjava.jnilib is still being searched
within the scilab app bundle and could not be found. I am not sure whether
this will have some consequences. Scilab also request version 1.5 but
finally accepted to use the new version of 1.6 it could find. Just as a
reminder version 1.8 from Oracle was also not found by Scilab (would that
now be the case? well maybe I'll try that some of these days).


nicolass-imac:bin nicolas$ SCIVERBOSE=1 DISABLE_JAVA_DETECTION=0 ./scilab

SCILABBIN : scilab-bin

DISABLE_JAVA_DETECTION : 0

SCILAB_MODE : gui

OS : Darwin

MODEL : x86_64

IS_SCILAB_BINARY : 1

Cannot find
/Applications/scilab-5.5.0.app/Contents/MacOS/thirdparty/java//lib//libjava.jnilib

SCI : /Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab

SCIBIN :

PATH :
/sw/bin:/sw64/bin:.:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/modules/scicos/

CLASSPATH :

EGL_DRIVER :

Found MacOSX Version: 10.9.2

LD_LIBRARY_PATH :
/sw/lib/:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/bin:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/lib/scilab/:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/lib64/scilab/:.:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/scilab:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/thirdparty

DYLD_LIBRARY_PATH:
/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/../../lib/scilab/:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/scilab:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/thirdparty:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Libraries:

Warning: Localization issue. Failed to change the LC_CTYPE locale category.
Does not support the locale 'en_DE' (null) C.

Did you install the system locales?

Warning: Localization issue. Does not support the locale 'en_DE'

Returned: (null)

Current system locale: C

Did you install the system locales?

JavaVM: requested Java version (1.5) not available. Using Java at
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" instead.


Starting Scilab by clicking on the app bundle icon results in Scilab
starting (probably with the same errors/warnings in the background but the
users do not get to see them).

So to sum up: it seems the problem was solved by applying the latest apple
java update. Thanks once again and I hope this might help others, if I was
not the only Mavericks user with that issue.


Yours sincerely,
Nicolas




On Fri, Apr 25, 2014 at 7:53 PM, Adam Dershowitz
<adershowitz at exponent.com>wrote:

>   $ java -version
>
> java version "1.6.0_65"
>
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
>
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
>
>  -- Adam
>
>
>   From: Nicolas FEZANS <nicolas.fezans at gmail.com>
> Reply-To: "International users mailing list for Scilab." <
> users at lists.scilab.org>
> Date: Friday, April 25, 2014 at 1:26 PM
>
> To: "International users mailing list for Scilab." <users at lists.scilab.org
> >
> Subject: Re: [Scilab-users] scilab 5.5.0 binary running under Mac OS X.9
> Mavericks, anyone?
>
>   Thanks Adam for the information!
> My problem seems to be related with java. Could you please tell me which
> java version do you have? (just type "java -version" in the Mac terminal
> and post the output back).
>
>
>  Nicolas
>
>
> On Fri, Apr 25, 2014 at 2:38 PM, Adam Dershowitz <adershowitz at exponent.com
> > wrote:
>
>>   As one data point, it runs fine for me.  I am on 10.9.2 and didn’t do
>> anything other then download it and when I double click on the application
>> it runs fine.  You might look in your Console to see what errors you get
>> there.
>>
>>
>>  -- Adam
>>
>>
>>   From: Nicolas FEZANS <nicolas.fezans at gmail.com>
>> Reply-To: "International users mailing list for Scilab." <
>> users at lists.scilab.org>
>> Date: Thursday, April 24, 2014 at 5:26 PM
>> To: "users at lists.scilab.org" <users at lists.scilab.org>
>> Subject: [Scilab-users] scilab 5.5.0 binary running under Mac OS X.9
>> Mavericks, anyone?
>>
>>   Hi,
>>
>> Does anyone got the binary version of scilab 5.5.0 running under OS X
>> Mavericks?
>>
>> Launching with the icon => icons keep bouncing and process not responding
>>
>> Launching in the command line => I got the following output (and it hangs
>> up too)
>>
>>
>> nicolass-imac:bin nicolas$ SCIVERBOSE=1 DISABLE_JAVA_DETECTION=0 ./scilab
>>
>> SCILABBIN : scilab-bin
>>
>> DISABLE_JAVA_DETECTION : 0
>>
>> SCILAB_MODE : gui
>>
>> OS : Darwin
>>
>> MODEL : x86_64
>>
>> IS_SCILAB_BINARY : 1
>>
>> Cannot find
>> /Applications/scilab-5.5.0.app/Contents/MacOS/thirdparty/java//lib//libjava.jnilib
>>
>> SCI : /Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab
>>
>> SCIBIN :
>>
>> PATH :
>> /sw/bin:/sw64/bin:.:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/modules/scicos/
>>
>> CLASSPATH :
>>
>> EGL_DRIVER :
>>
>> Found MacOSX Version: 10.9.2
>>
>> LD_LIBRARY_PATH :
>> /sw/lib/:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/bin:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/lib/scilab/:/Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/lib64/scilab/:.:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/scilab:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/thirdparty
>>
>> DYLD_LIBRARY_PATH:
>> /Applications/scilab-5.5.0.app/Contents/MacOS/share/scilab/../../lib/scilab/:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/scilab:/Applications/scilab-5.5.0.app/Contents/MacOS/lib/thirdparty:/Library/Java/JavaVirtualMachines/1.6.0_43-b01-447.jdk/Contents/Home/../Libraries:
>>
>> Error checking symlink for the target jvm.
>>
>>
>>
>>  Copying the "libjava.jnilib" from my JVM directory into
>> "/Applications/scilab-5.5.0.app/Contents/MacOS/thirdparty/java//lib//libjava.jnilib"
>> seems to remove the first error (not sure that's the best way to do it
>> though) however the second (see last line of the console output) stays. It
>> seems the problem already occurred before Mavericks... is that problem
>> solved, now? What I found was not helpful.
>>
>>  Installing the last jvm from oracle did not change anything either
>> (well except the path to the jdk in the console output just before the
>> point scilab is hanging up).
>>
>>
>>  Sincerely,
>> Nicolas
>>
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140426/b72d0a9c/attachment.htm>


More information about the users mailing list