MATLAB R2014a command window doesn't accept input on Ubuntu 14.04
1 view (last 30 days)
Show older comments
Hello,
I am running R2014a on Ubuntu 14.04. The MATLAB is freshly installed, but Ubuntu is an upgrade from 12.04 (which was upgraded from 10.04 before that). I am running Ubuntu Server, so I'm using X-11 forwarding to enable display on my Windows 7 machine.
I have a problem when I minimize and restore the MATLAB window that the Command Window no longer accepts input. This seems very similar to a problem that was reported for the Mac last year: http://www.mathworks.com/matlabcentral/answers/79581-cannot-type-or-edit-in-matlab-only-right-click-and-menus
The default version of Java that MATLAB uses is
>> version -java
ans =
Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
If I start MATLAB and set the MATLAB_JAVA environment variable to the OpenJDK 7 JRE that is separately installed on my Ubuntu machine, I have no such problem and the Java version is reported properly:
>> version -java
ans =
Java 1.7.0_65-b32 with Oracle Corporation OpenJDK 64-Bit Server VM mixed mode
How can I fix this issue without having to set the MATLAB_JAVA environment variable for all of my users?
Thanks, Bryan
0 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!