<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p><br>
</p>
<p>Hello Mac users,</p>
<p><br>
</p>
<p>As Scilab 5.5.2 requires a Java 1.5 install, we need to make it think it has one.<br>
</p>
<p>Here are steps to run Scilab 5.5.2 on High Sierra:</p>
<p><br>
</p>
<ul style="margin-bottom:0px; margin-top:0px">
<li>open a <b>terminal</b> (found in Applications -> Utilities -> Terminal)</li></ul>
<ul style="margin-bottom:0px; margin-top:0px">
<li>note the <b>path</b> returned by:</li></ul>
<blockquote>
<ul style="margin-bottom:0px; margin-top:0px">
<li>/usr/libexec/java_home<br>
</li></ul>
</blockquote>
<ul style="margin-bottom:0px; margin-top:0px">
<li>in my case it returns <span><i>/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home</i></span> so in the following commands, replace it with your path. Run the following
<b>commands </b>(you'll need sudo rights):</li></ul>
<p></p>
<blockquote>
<ul style="margin-bottom:0px; margin-top:0px">
<li>sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/ /System/Library/Frameworks/JavaVM.framework/Versions/1.5 # Make Java 1.5 point to our install</li></ul>
</blockquote>
<div>
<blockquote>
<ul>
<li>sudo mkdir -p /bundle/Libraries</li></ul>
<ul>
<li>sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/jre/lib/server/libjvm.dylib /bundle/Libraries/libserver.dylib # Make the requested libserver.dylib file point to our libjvm.dylib</li></ul>
</blockquote>
</div>
<div>
<ul style="margin-bottom:0px; margin-top:0px">
<li>if you get 'Operation not permitted' errors then please consult <a href="http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x" class="OWAAutoLink" id="LPlnk410509" previewremoved="true">http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x</a>
 to bypass macOS protections</li></ul>
</div>
<div>
<ul style="margin-bottom:0px; margin-top:0px">
<li>at Scilab startup, click on <b>Try Anyway</b> when asked about the macOS version</li></ul>
</div>
<div>
<ul style="margin-bottom:0px; margin-top:0px">
<li>if you're asked for <b>Java6</b>, follow the steps described at <a href="http://www.scilab.org/en/download/latest" class="OWAAutoLink" id="LPlnk404901" previewremoved="true">
http://www.scilab.org/en/download/latest</a></li></ul>
</div>
<div><br>
</div>
<div>Regarding Scilab 6, it is recommended to wait for the next Scilab release which simplifies the launch on High Sierra. Otherwise you may refer to
<a href="http://bugzilla.scilab.org/show_bug.cgi?id=15307" class="OWAAutoLink" id="LPlnk179267" previewremoved="true">
http://bugzilla.scilab.org/show_bug.cgi?id=15307</a> for a workaround.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Paul<br>
</div>
<p></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p></p>
<div><span style="color:rgb(117,123,128)">Paul BIGNIER</span><br>
<span style="color:rgb(117,123,128)">Development engineer</span><br>
<span style="color:rgb(117,123,128)">-----------------------------------------------------------</span><br>
<span style="color:rgb(117,123,128)">ESI Group - Scilab</span><br>
<span style="color:rgb(117,123,128)">99 rue des Solets - 94513 Rungis, France</span><br>
<span style="color:rgb(117,123,128)">Phone: +33.1.41.73.58.77</span><br>
<a href="https://scilab.io" class="OWAAutoLink" id="LPNoLP">https://scilab.io</a></div>
<a href="https://esi-group.com" class="OWAAutoLink" id="LPNoLP">https://esi-group.com</a><br>
<p></p>
</div>
</div>
</div>
</body>
</html>