From dpelleg@cs.cmu.edu  Fri Sep 19 14:42:28 2003
Return-Path: <dpelleg@cs.cmu.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9478816A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 14:42:28 -0700 (PDT)
Received: from gw.pelleg.org (gw.pelleg.org [205.201.13.235])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B3A9A43FEC
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 14:42:27 -0700 (PDT)
	(envelope-from dpelleg@cs.cmu.edu)
Received: from lank.here (lank.wburn [192.168.3.41])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN "gw.pelleg.org", Issuer "Dan Pelleg" (verified OK))
	by gw.pelleg.org (Postfix) with ESMTP id 658C75A3A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 17:42:22 -0400 (EDT)
Received: by lank.here (Postfix, from userid 7675)
	id 4EA2A77E; Fri, 19 Sep 2003 17:42:20 -0400 (EDT)
Message-Id: <20030919214220.4EA2A77E@lank.here>
Date: Fri, 19 Sep 2003 17:42:20 -0400 (EDT)
From: Dan Pelleg <daniel+handbook@pelleg.org>
Reply-To: Dan Pelleg <daniel+handbook@pelleg.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: minor fixes to handbook: linux emulation for MATLAB
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57025
>Category:       docs
>Synopsis:       minor fixes to handbook: linux emulation for MATLAB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    blackend
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 14:50:17 PDT 2003
>Closed-Date:    Sat Sep 27 01:59:01 PDT 2003
>Last-Modified:  Sat Sep 27 01:59:01 PDT 2003
>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:
Responsible-Changed-From-To: freebsd-doc->blackend 
Responsible-Changed-By: blackend 
Responsible-Changed-When: Sat Sep 20 00:15:22 PDT 2003 
Responsible-Changed-Why:  
I'll take this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57025 
State-Changed-From-To: open->closed 
State-Changed-By: blackend 
State-Changed-When: Sat Sep 27 01:57:42 PDT 2003 
State-Changed-Why:  
I committed a very different version of your patch, different in term of 
form and style, but the content is there.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57025 
>Unformatted:
