[Scilab-users] Scilab on Mavericks with Java 7?

John Haggerty haggerty at bnl.gov
Fri Dec 6 03:34:47 CET 2013


Hello,

Thanks for the informative advice.  I still can't start scilab, but I 
know a lot more about where java 7 goes in OS X.

On 12/4/13, 9:17 PM, Ricardo Fabbri-2 [via Scilab / Xcos - Mailing Lists 
Archives] wrote:
> Hi,
>
> Here are some things you can try (all with nightly build or the latest
> source code from the master branch)
>
> 1) You can try setting up your environment and Scilab to use Java 7.
> On a terminal, have you tried:
>    export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
>    SCIVERBOSE=1 scilab
>
> (also, what message do you get in the terminal when you simply run
> "scilab"?)

The method used does not find a valid JVM:

> [/Applications/scilab-master-1385142704.app/Contents/MacOS]$ bin/scilab
> No Java runtime present, requesting install.

This does not look good from SCIVERBOSE=1 bin/scilab:

> IS_SCILAB_BINARY : 1
> Cannot find /Applications/scilab-master-1385142704.app/Contents/MacOS/thirdparty/java//lib//libjava.jnilib
> SCI : /Applications/scilab-master-1385142704.app/Contents/MacOS/share/scilab
> SCIBIN :
...
> No Java runtime present, requesting install.


>
> 2) Perhaps the workaround in this link can help you, as I've needed it
> to get scilab to run on my macbook pro:
> http://bugzilla.scilab.org/show_bug.cgi?id=13087

I saw that bug, but adding a link to 1.5 doesn't help; I can't find any 
errors that point me to where it wants the jre.  scilab -debug just 
tells me the same thing--no java runtime.

>
> 3) You can try compiling Scilab, here are my notes which has been
> tested on OSX Mavericks http://wiki.nosdigitais.teia.org.br/Scilab

I might try that at some point, but I'm not committed enough to getting 
scilab running (yet).

> PS: To understand Java and OSX there is this link
> http://blog.hgomez.net/blog/2012/07/20/understanding-java-from-command-line-on-osx/

Very informative, but my java installation seems perfectly clean:

> [/Applications/scilab-master-1385142704.app/Contents/MacOS]$ /usr/libexec/java_home -V
> Matching Java Virtual Machines (1):
>     1.7.0_45, x86_64:	"Java SE 7"	/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
>
> /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
> [/Applications/scilab-master-1385142704.app/Contents/MacOS]$ /usr/libexec/java_home -v 1.7
> /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home

Maybe scilab just doesn't work with Java 1.7?

>
> Hope this can help,
>
> --
> Dr Ricardo Fabbri
> Professor of Computer Engineering
> GNU/Linux registered user #175401
> www.lems.brown.edu/~rfabbri
> pt.wikipedia.org/wiki/IPRJ
> labmacambira.sf.net
>
>
> On Wed, Dec 4, 2013 at 11:38 PM, haggerty <[hidden email]
> </user/SendEmail.jtp?type=node&node=4027976&i=0>> wrote:
>
>  > I have been trying to use Scilab since upgrading to Mac OS 10.9, but
> I have
>  > not been able to get past the the attached popup, which wants me to
> install
>  > Java 6.  I have only Java 7, and I'd like to keep it that way.  This
> seems
>  > to be the same with Scilab 5.4.1 and the nightly build of 5.5.0.
>  >
>  > <http://mailinglists.scilab.org/file/n4027974/scilaberror.png>
>  >
>  > Is there any way around this?
>  >
>  >
>  >
>  > --
>  > View this message in context:
> http://mailinglists.scilab.org/Scilab-on-Mavericks-with-Java-7-tp4027974.html
>  > Sent from the Scilab users - Mailing Lists Archives mailing list
> archive at Nabble.com.
>  > _______________________________________________
>  > users mailing list
>  > [hidden email] </user/SendEmail.jtp?type=node&node=4027976&i=1>
>  > http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4027976&i=2>
> http://lists.scilab.org/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://mailinglists.scilab.org/Scilab-on-Mavericks-with-Java-7-tp4027974p4027976.html
>
> To unsubscribe from Scilab on Mavericks with Java 7?, click here
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4027974&code=aGFnZ2VydHlAYm5sLmdvdnw0MDI3OTc0fDExMzg2NzExMjE=>.
> NAML
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


-- 
John Haggerty
email: haggerty at bnl.gov
cell: 631 741 3358



More information about the users mailing list