Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
[R2008b,Ubuntu,JRE] Garbled plots

Subject: [R2008b,Ubuntu,JRE] Garbled plots

From: Vishaka

Date: 16 Oct, 2012 10:24:09

Message: 1 of 3

I was recently having a strange issue with my MATLAB install (R2008b, on Ubuntu 10.04), where the cursor in the text editor was painfully slow.

I tried installing the Oracle Java 8 JRE and setting the MATLAB_JAVA environment variable to use it. This seemed to fix the slow cursor problem, only to kill all plot functions. For example, when I tried running plot( 0:10, 0:10 ), the plot window shows up, with the menus and toolbars intact, but the rest of the window is garbled. Specifically, the rest of the figure window is a replica of whatever was already displayed on the screen (kind of a Rene Magritte painting).

I did try reinstalling the nvidia drivers (and even removing and using the nouveau drivers), but no luck. I also tried oracle jre 8, but to no avail. I finally had to fall back to the in-built MATLAB jvm, with the painfully slow text editor.

I also tried running it with different kernel versions, but no luck. Whatever it is, has anyone else encountered an issue with the oracle JRE in this regard?

Subject: [R2008b,Ubuntu,JRE] Garbled plots

From: Steven_Lord

Date: 16 Oct, 2012 13:21:43

Message: 2 of 3



"Vishaka " <vishak31789@yahoo.co.in> wrote in message
news:k5jck9$3fr$1@newscl01ah.mathworks.com...
> I was recently having a strange issue with my MATLAB install (R2008b, on
> Ubuntu 10.04), where the cursor in the text editor was painfully slow.
> I tried installing the Oracle Java 8 JRE and setting the MATLAB_JAVA
> environment variable to use it. This seemed to fix the slow cursor
> problem, only to kill all plot functions. For example, when I tried
> running plot( 0:10, 0:10 ), the plot window shows up, with the menus and
> toolbars intact, but the rest of the window is garbled. Specifically, the
> rest of the figure window is a replica of whatever was already displayed
> on the screen (kind of a Rene Magritte painting).
> I did try reinstalling the nvidia drivers (and even removing and using the
> nouveau drivers), but no luck. I also tried oracle jre 8, but to no avail.
> I finally had to fall back to the in-built MATLAB jvm, with the painfully
> slow text editor.
>
> I also tried running it with different kernel versions, but no luck.
> Whatever it is, has anyone else encountered an issue with the oracle JRE
> in this regard?

Have you contacted MathWorks Technical Support for the slow editor cursor
issue?

MATLAB is only officially supported with the version of Java with which it
ships. Changing to a newer or older version may not work correctly, as
stated in this technical support document:

http://www.mathworks.com/support/solutions/en/data/1-1812J/index.html?solution=1-1812J

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: [R2008b,Ubuntu,JRE] Garbled plots

From: Vishaka

Date: 19 Oct, 2012 09:12:08

Message: 3 of 3

Ah okay. That makes sense. Will do that. Thanks!

"Steven_Lord" <slord@mathworks.com> wrote in message <k5jn18$bf1$1@newscl01ah.mathworks.com>...
>
>
> "Vishaka " <vishak31789@yahoo.co.in> wrote in message
> news:k5jck9$3fr$1@newscl01ah.mathworks.com...
> > I was recently having a strange issue with my MATLAB install (R2008b, on
> > Ubuntu 10.04), where the cursor in the text editor was painfully slow.
> > I tried installing the Oracle Java 8 JRE and setting the MATLAB_JAVA
> > environment variable to use it. This seemed to fix the slow cursor
> > problem, only to kill all plot functions. For example, when I tried
> > running plot( 0:10, 0:10 ), the plot window shows up, with the menus and
> > toolbars intact, but the rest of the window is garbled. Specifically, the
> > rest of the figure window is a replica of whatever was already displayed
> > on the screen (kind of a Rene Magritte painting).
> > I did try reinstalling the nvidia drivers (and even removing and using the
> > nouveau drivers), but no luck. I also tried oracle jre 8, but to no avail.
> > I finally had to fall back to the in-built MATLAB jvm, with the painfully
> > slow text editor.
> >
> > I also tried running it with different kernel versions, but no luck.
> > Whatever it is, has anyone else encountered an issue with the oracle JRE
> > in this regard?
>
> Have you contacted MathWorks Technical Support for the slow editor cursor
> issue?
>
> MATLAB is only officially supported with the version of Java with which it
> ships. Changing to a newer or older version may not work correctly, as
> stated in this technical support document:
>
> http://www.mathworks.com/support/solutions/en/data/1-1812J/index.html?solution=1-1812J
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us