[scilab-Users] Re: Scilab 5.2.2 fails to start on Mac OS 10.6.3
Jeff DuMonthier
jjdmon at pobox.com
Tue May 18 15:35:07 CEST 2010
Neither version works since whatever system update broke it. I've installed MacOSXUpdCombo10.6.3v1.1 and JavaForMacOSX10.6Update1 in that order, trying Scilab 5.2.1 after each and they made no difference. Haven't tried using Pacifist to install the obsolete Java 1.5 yet. I need to fall back to Scilab 5.2.1 anyway. We use Scilab on Linux (RHEL 5) and 5.2.2 seems to have broken both the terminal and file I/O in our code, and I don't have time right now to debug that.
The outputs from the terminal commands are:
> /usr/libexec/java_home --arch x86_64 --failfast --version 1.6+/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> ls -al /System/Library/Frameworks/JavaVM.framework/Home
lrwxr-xr-x 1 root wheel 24 May 17 17:39 /System/Library/Frameworks/JavaVM.framework/Home -> Versions/CurrentJDK/Home
> ls -al /System/Library/Frameworks/JavaVM.framework/Versions
total 64
drwxr-xr-x 13 root wheel 442 May 17 17:39 .
drwxr-xr-x 12 root wheel 408 May 17 17:39 ..
lrwxr-xr-x 1 root wheel 5 May 17 17:39 1.3 -> 1.3.1
drwxr-xr-x 3 root wheel 102 Jul 20 2009 1.3.1
lrwxr-xr-x 1 root wheel 10 May 17 17:39 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 May 17 17:39 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 May 17 17:39 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 May 17 17:39 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 5 May 17 17:39 1.6 -> 1.6.0
drwxr-xr-x 8 root wheel 272 Sep 5 2009 1.6.0
drwxr-xr-x 9 root wheel 306 May 17 17:39 A
lrwxr-xr-x 1 root wheel 1 May 17 17:39 Current -> A
lrwxr-xr-x 1 root wheel 3 May 17 17:39 CurrentJDK -> 1.6
> ls -al /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
total 218232
drwxr-xr-x 11 root wheel 374 May 17 17:39 .
drwxr-xr-x 8 root wheel 272 Sep 5 2009 ..
-rw-r--r-- 1 root wheel 101107 Jul 20 2009 appledocs.jar
drwxr-xr-x 41 root wheel 1394 May 17 17:39 bin
lrwxr-xr-x 1 root wheel 3 May 17 17:39 bundle -> ../
-rw-r--r-- 1 root wheel 39068674 Jul 20 2009 docs.jar
lrwxr-xr-x 1 root wheel 10 May 17 17:39 include -> ../Headers
drwxr-xr-x 41 _update_sharing wheel 1394 May 17 17:39 lib
drwxr-xr-x 41 root wheel 1394 May 17 17:39 man
lrwxr-xr-x 1 root wheel 9 May 17 17:39 shared_bundle -> ../../../
-rw-r--r-- 1 root wheel 72546967 Jul 20 2009 src.jar
On May 17, 2010, at 5:07 PM, Sylvestre Ledru wrote:
> It would be nice if you could try again Scilab 5.2.1 to see if it
> happens or not
> I made a small change to improve the Java detection (the previous was
> not Apple-official) [1] & [2]
> If it is working with Scilab 5.2.1 and not with Scilab 5.2.2, this might
> be the cause of the issue.
> If Scilab 5.2.1 works, could you give me the output of:
> /usr/libexec/java_home --arch x86_64 --failfast --version 1.6+
> and
> ls /System/Library/Frameworks/JavaVM.framework/Home/
>
> Thanks for your feedback guys. It is appreciated!
>
> Sylvestre
> [1]
> http://gitweb.scilab.org/?p=scilab.git;a=commitdiff;h=a6bcd928a4d66bc50922ef5bede689a7703380bf#patch2
> [2]
> http://gitweb.scilab.org/?p=scilab.git;a=commitdiff;h=47d58004ff4866ba10adc376457c8d8fc093e6ed#patch2
More information about the users
mailing list