Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2003 17:42:20 -0400 (EDT)
From:      Dan Pelleg <daniel+handbook@pelleg.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/57025: minor fixes to handbook: linux emulation for MATLAB
Message-ID:  <20030919214220.4EA2A77E@lank.here>
Resent-Message-ID: <200309192150.h8JLoHgH054912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57025
>Category:       docs
>Synopsis:       minor fixes to handbook: linux emulation for MATLAB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 14:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dan Pelleg
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD l 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #5: Tue Sep 16 20:15:41 EDT 2003 d@p:/L i386


	
>Description:
 Minor corrections and additions to linuxemu-matlab. Java run-time fixes.

>How-To-Repeat:
>Fix:

--- en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml.orig	Fri Sep 19 16:22:53 2003
+++ en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml	Fri Sep 19 17:36:24 2003
@@ -694,6 +694,12 @@
       url="http://www.mathworks.com"></ulink>.  Make sure you also get
       the license file or instructions how to create it.</para>
 
+    <para>The Mathworks claim that they "will decide if &os distributions
+      will be supported in future versions of
+      <application>MATLAB</application>". Help them decide by requesting a
+      native &os version at <ulink
+        url="http://www.mathworks.com/support/contactus.shtml"></ulink>.
+
     <sect2>
       <title>Installing &matlab;</title>
 
@@ -808,6 +814,12 @@
 
 	  <screen>&prompt.root; <userinput>/usr/local/etc/rc.d/flexlm.sh start</userinput></screen>
 	</step>
+    <step>
+      <para>Fix the <application>&java;</application> run-time link to be one
+        that works under &os:
+	  <screen>&prompt.root; <userinput>cd $MATLAB/sys/java/jre/glnx86/</userinput>
+&prompt.root; <userinput>unlink jre;  ln -s ./jre1.1.8 ./jre</userinput></screen>
+	</step>
       </procedure>
     </sect2>
 
@@ -837,11 +849,12 @@
       <para>At this point you are ready to type
 	<command>matlab</command> and start using it.  Note that the
 	version of <application>&java;</application> shipped with
-	<application>&matlab;</application> does not work under
-	&os;.  Therefore you will have to start
-	<application>&matlab;</application> with either the
-	<option>-nojvm</option> or the <option>-nodesktop</option>
-	switch.</para>
+	<application>&matlab;</application> does not work well under
+	&os;.  It will make it hard to quit <application>&matlab;</application>
+    and you will have to <command>kill -9</command> it. If you don't  use
+    <application>&java;</application> at all, you can avoid this nuisance
+    by starting <application>&matlab;</application> with the
+	<option>-nojvm</option> switch.</para>
     </sect2>
   </sect1>
 

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030919214220.4EA2A77E>