<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239001</link>
    <title>MATLAB Central Newsreader - The major problem with nojvm deprecation in R2008B and beyond (OS X only?)</title>
    <description>Feed for thread: The major problem with nojvm deprecation in R2008B and beyond (OS X only?)</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 10 Nov 2008 18:58:02 -0500</pubDate>
      <title>The major problem with nojvm deprecation in R2008B and beyond (OS X only?)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239001#610123</link>
      <author>First Last</author>
      <description>I'm running a &quot;server&quot; machine (Mac Pro, OS X 10.5.5) and running MATLAB remotely from this machine via ssh and the command line. &lt;br&gt;
&lt;br&gt;
In previous versions of MATLAB, I would run &lt;br&gt;
&lt;br&gt;
matlab -nojvm -nodesktop&lt;br&gt;
&lt;br&gt;
and still get graphics forwarding via X11 to the client desktop. Most importantly, I was able to manipulate handle graphics in order to change figures remotely. &lt;br&gt;
&lt;br&gt;
R2008B gives the message that nojvm is now deprecated, which can be found officially here:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://tinyurl.com/65bwuv&quot;&gt;http://tinyurl.com/65bwuv&lt;/a&gt; [mathworks.com]&lt;br&gt;
&lt;br&gt;
However, this is a huge problem for those of us who run MATLAB remotely on OS X machines and need graphics on the client. Specifying the -display switch doesn't work. Graphics simply aren't forwarded any longer of X11. Additionally, handle graphics do not appear to be supported. Is there a solution to this problem, or will there be?</description>
    </item>
    <item>
      <pubDate>Mon, 10 Nov 2008 20:33:04 -0500</pubDate>
      <title>Re: The major problem with nojvm deprecation in R2008B and beyond</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239001#610148</link>
      <author>Walter Roberson</author>
      <description>First Last wrote:&lt;br&gt;
&amp;gt; I'm running a &quot;server&quot; machine (Mac Pro, OS X 10.5.5) and running MATLAB remotely from this machine via ssh and the command line. &lt;br&gt;
&lt;br&gt;
&amp;gt; In previous versions of MATLAB, I would run &lt;br&gt;
&lt;br&gt;
&amp;gt; matlab -nojvm -nodesktop&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; and still get graphics forwarding via X11 to the client desktop.&lt;br&gt;
&lt;br&gt;
In theory, you should be able to use matlab -nodesktop -nosplash for that purpose,&lt;br&gt;
I think. You might have to have JVM installed on the server.&lt;br&gt;
&lt;br&gt;
In practice, we ssh -X in to a FedoraCore3 server and run matlab R2007a over X11&lt;br&gt;
without difficulty, with or without desktop. However, for our Ubuntu server&lt;br&gt;
with R2008a, using -nodesktop or -nodisplay does not allow Matlab to start up;&lt;br&gt;
using it with the full desktop works okay in ssh -X mode though. I have a case&lt;br&gt;
open about the R2008a requiring a display to run; Mathworks told me this morning&lt;br&gt;
that they haven't seen that on any other machines.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
.signature note: I am now avoiding replying to unclear or ambiguous postings.&lt;br&gt;
Please review questions before posting them. Be specific. Use examples of what you mean,&lt;br&gt;
of what you don't mean. Specify boundary conditions, and data classes and value&lt;br&gt;
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?</description>
    </item>
    <item>
      <pubDate>Tue, 11 Nov 2008 02:11:11 -0500</pubDate>
      <title>Re: The major problem with nojvm deprecation in R2008B and beyond</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239001#610205</link>
      <author>Brian Arnold</author>
      <description>Hi First Last at Nospam,&lt;br&gt;
&lt;br&gt;
The -nojvm will cause an error when remotely connected (this has been &lt;br&gt;
the case since R2007a).  If you are starting MATLAB on a remote Mac &lt;br&gt;
server, use -noawt instead of -nojvm, to continue using X11 Figures, &lt;br&gt;
until deprecated support for non-native X11-based Figures becomes an &lt;br&gt;
error in a future release.&lt;br&gt;
&lt;br&gt;
We will always continue to support the command line interface (CLI) on &lt;br&gt;
the Mac platform for remote connections, but in a future release, this &lt;br&gt;
will no longer include Figure window forwarding through X11.&lt;br&gt;
&lt;br&gt;
We need to make MATLAB a better citizen on the Mac for the majority of &lt;br&gt;
Mac customers, and continuing to support X11 is contrary to that goal. &lt;br&gt;
We intend for more and more of MATLAB to be Cocoa-based, either directly &lt;br&gt;
or indirectly (through other frameworks which are Cocoa-based including &lt;br&gt;
Java).&lt;br&gt;
&lt;br&gt;
At some point between now and then, you will need to make some decisions to:&lt;br&gt;
&lt;br&gt;
- use licenses that run MATLAB locally to leverage the&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;benefits of the hundreds of UI features such as the&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Function Browser (new to R2008b), for a full desktop&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;user experience;&lt;br&gt;
- use Parallel Computing Toolbox and/or Distributed Computing&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Server to harness the full power of your Mac Pros or Xserves&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;remotely, while retaining the full desktop user experience&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;(this also scales as you add more hardware);&lt;br&gt;
- use in-model UI-forwarding such as VineServer or Apple&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Remote Desktop for an acceptable desktop user experience;&lt;br&gt;
- use MATLAB for Linux through virtualization on your Macs,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;for a limited-but-usable remote desktop user experience;&lt;br&gt;
- wait for Apple to provide a miracle solution (other than&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Apple Remote Desktop), for multi-user context-forwarding of&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Cocoa-based applications (b/c that's where we are headed).&lt;br&gt;
&lt;br&gt;
I realize that you have other options; these are the only ones over &lt;br&gt;
which we have any degree of control, and believe to be acceptable paths &lt;br&gt;
forward.&lt;br&gt;
&lt;br&gt;
As a Mac user and a Mac developer, I hope you make the right decisions &lt;br&gt;
for your environment, and that we are able to continue to serve you.&lt;br&gt;
&lt;br&gt;
- Brian&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
First Last wrote:&lt;br&gt;
&amp;gt; I'm running a &quot;server&quot; machine (Mac Pro, OS X 10.5.5) and running MATLAB remotely from this machine via ssh and the command line. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; In previous versions of MATLAB, I would run &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; matlab -nojvm -nodesktop&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; and still get graphics forwarding via X11 to the client desktop. Most importantly, I was able to manipulate handle graphics in order to change figures remotely. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; R2008B gives the message that nojvm is now deprecated, which can be found officially here:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://tinyurl.com/65bwuv&quot;&gt;http://tinyurl.com/65bwuv&lt;/a&gt; [mathworks.com]&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; However, this is a huge problem for those of us who run MATLAB remotely on OS X machines and need graphics on the client. Specifying the -display switch doesn't work. Graphics simply aren't forwarded any longer of X11. Additionally, handle graphics do not appear to be supported. Is there a solution to this problem, or will there be?</description>
    </item>
    <item>
      <pubDate>Tue, 11 Nov 2008 18:46:18 -0500</pubDate>
      <title>Re: The major problem with nojvm deprecation in R2008B and beyond</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239001#610347</link>
      <author>Walter Roberson</author>
      <description>Brian Arnold wrote:&lt;br&gt;
&amp;gt; We will always continue to support the command line interface (CLI) on &lt;br&gt;
&amp;gt; the Mac platform for remote connections, but in a future release, this &lt;br&gt;
&amp;gt; will no longer include Figure window forwarding through X11.&lt;br&gt;
&lt;br&gt;
That's quite disappointing, to me at least. The effect is to force me to choose&lt;br&gt;
between the reliability of a Mac and the usability of the application.&lt;br&gt;
I don't have room on my desk for yet another monitor to be able to buy&lt;br&gt;
a Mac to display &quot;locally&quot; (and I already have multiple feeds into my&lt;br&gt;
monitor.)&lt;br&gt;
&lt;br&gt;
When I buy a computer, reliability is a quite strong consideration: I have&lt;br&gt;
wasted quite enough of my life already getting #$@$ PC hardware to work,&lt;br&gt;
or rescuing MS Windows from its own follies.&lt;br&gt;
&lt;br&gt;
It's like when I go to buy my glasses: when the optician says &quot;You have to go&lt;br&gt;
High Index lens at $750&quot; (plus the frame) I say &quot;Urk! Ulp, Okay then&quot;, because&lt;br&gt;
I *need* my glasses to work well in order to get through life. Working with&lt;br&gt;
low-reliability software and hardware is bad for my blood pressure and bad&lt;br&gt;
for my mental state. My unix machine gets rebooted about 3 times a year&lt;br&gt;
(pesky cosmic rays!); for my MS Windows PC it isn't uncommon to need to reboot&lt;br&gt;
3 times just to install a single program :(&lt;br&gt;
&lt;br&gt;
Thus when I next upgrade systems (and I'm overdue for an upgrade), if&lt;br&gt;
Matlab isn't going to handle X11 off of Mac OS-X, then my question is&lt;br&gt;
going to be, &quot;Well, how about Octave or MathCAD ? Do they do enough of what&lt;br&gt;
I need?&quot; And if the answer is &quot;Yes, they do&quot;, then Mathworks loses a sale&lt;br&gt;
and I go for the Mac; if, on the other hand, Matlab did handle X11 off&lt;br&gt;
of Mac OS-X smoothly, then the question of switching to another package&lt;br&gt;
would not occur.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; We need to make MATLAB a better citizen on the Mac for the majority of &lt;br&gt;
&amp;gt; Mac customers, and continuing to support X11 is contrary to that goal. &lt;br&gt;
&lt;br&gt;
It is difficult for me to find an interpretation of that sentence under which&lt;br&gt;
I would not consider the sentence to be incorrect. The closest I have managed&lt;br&gt;
so far is that it might not be economically -feasible- to maintain dual support,&lt;br&gt;
or that it might be a bunch of trouble to provide two different binaries, one&lt;br&gt;
for X11 work and one for &quot;native&quot; work. But &quot;contrary&quot; to the goal? No, that&lt;br&gt;
I am having a fair bit of difficulty with.</description>
    </item>
    <item>
      <pubDate>Mon, 10 Nov 2008 20:11:43 -0500</pubDate>
      <title>Re: The major problem with nojvm deprecation in R2008B and beyond</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239001#610504</link>
      <author>Walter Roberson</author>
      <description>First Last wrote:&lt;br&gt;
&amp;gt; I'm running a &quot;server&quot; machine (Mac Pro, OS X 10.5.5) and running MATLAB remotely from this machine via ssh and the command line. &lt;br&gt;
&lt;br&gt;
&amp;gt; In previous versions of MATLAB, I would run &lt;br&gt;
&lt;br&gt;
&amp;gt; matlab -nojvm -nodesktop&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; and still get graphics forwarding via X11 to the client desktop.&lt;br&gt;
&lt;br&gt;
In theory, you should be able to use matlab -nodesktop -nosplash for that purpose,&lt;br&gt;
I think. You might have to have JVM installed on the server.&lt;br&gt;
&lt;br&gt;
In practice, we ssh -X in to a FedoraCore3 server and run matlab R2007a over X11&lt;br&gt;
without difficulty, with or without desktop. However, for our Ubuntu server&lt;br&gt;
with R2008a, using -nodesktop or -nodisplay does not allow Matlab to start up;&lt;br&gt;
using it with the full desktop works okay in ssh -X mode though. I have a case&lt;br&gt;
open about the R2008a requiring a display to run; Mathworks told me this morning&lt;br&gt;
that they haven't seen that on any other machines.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
.signature note: I am now avoiding replying to unclear or ambiguous postings.&lt;br&gt;
Please review questions before posting them. Be specific. Use examples of what you mean,&lt;br&gt;
of what you don't mean. Specify boundary conditions, and data classes and value&lt;br&gt;
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?</description>
    </item>
    <item>
      <pubDate>Fri, 23 Jan 2009 22:16:03 -0500</pubDate>
      <title>Re: The major problem with nojvm deprecation in R2008B and beyond</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239001#623588</link>
      <author>daniele </author>
      <description>Brian Arnold &amp;lt;Brian.Arnold@mathworks.com&amp;gt; wrote in message &lt;br&gt;
&lt;br&gt;
&amp;gt; At some point between now and then, you will need to make some decisions to:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; - use licenses that run MATLAB locally to leverage the&lt;br&gt;
&amp;gt;    benefits of the hundreds of UI features such as the&lt;br&gt;
&amp;gt;    Function Browser (new to R2008b), for a full desktop&lt;br&gt;
&amp;gt;    user experience;&lt;br&gt;
&amp;gt; - use Parallel Computing Toolbox and/or Distributed Computing&lt;br&gt;
&amp;gt;    Server to harness the full power of your Mac Pros or Xserves&lt;br&gt;
&amp;gt;    remotely, while retaining the full desktop user experience&lt;br&gt;
&amp;gt;    (this also scales as you add more hardware);&lt;br&gt;
&amp;gt; - use in-model UI-forwarding such as VineServer or Apple&lt;br&gt;
&amp;gt;    Remote Desktop for an acceptable desktop user experience;&lt;br&gt;
&amp;gt; - use MATLAB for Linux through virtualization on your Macs,&lt;br&gt;
&amp;gt;    for a limited-but-usable remote desktop user experience;&lt;br&gt;
&amp;gt; - wait for Apple to provide a miracle solution (other than&lt;br&gt;
&amp;gt;    Apple Remote Desktop), for multi-user context-forwarding of&lt;br&gt;
&amp;gt;    Cocoa-based applications (b/c that's where we are headed).&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
I wonder if this was told to my advisor before he bought the license for using matlab with through 5 remote connections to a MAC OS server. If this is a known issue it should have been clearly specified by the seller.</description>
    </item>
  </channel>
</rss>

