Path: news.mathworks.com!not-for-mail
From: "wang w" <wanghysea@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Locking assertion failure.
Date: Wed, 19 Aug 2009 18:00:23 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <h6hejn$7ke$1@fred.mathworks.com>
References: <ftkihm$5p$1@fred.mathworks.com> <fuhfm1$6te$1@fred.mathworks.com> <fuuf7k$t72$1@fred.mathworks.com>
Reply-To: "wang w" <wanghysea@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1250704823 7822 172.30.248.37 (19 Aug 2009 18:00:23 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 19 Aug 2009 18:00:23 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1939534
Xref: news.mathworks.com comp.soft-sys.matlab:564515


Actually, you just need to figure out the version of your jvm and make some modification of the version number in the command below:

export MATLAB_JAVA=/usr/lib/jvm/java-6-sun-1.6.0.06/jre

that's just OK!
At least it works on my R2008.

"Jeff " <wweagleflyer@yahoo.com> wrote in message <fuuf7k$t72$1@fred.mathworks.com>...
> I have the same problem.  Another forum:
> 
> https://bugs.launchpad.net/xorg-server/+bug/185311
> 
> gave several things to try, one of which partially fixed the
> problem.
> 
> on Ubuntu 8.04, the following fixed the problem with v2007a,
> but did not fix the problem with v2008a
> 
> export MATLAB_JAVA=/usr/lib/jvm/java-6-sun-1.6.0.06/jre
> 
> I am still trying to figure out why this isn't working with
> v2008a
> 
> Hope this helps