Java error on launching Matlab R2011a on mac (OS HighSierra 10.13.1)
Mostra commenti meno recenti
Hi,
since upgrading the Mac OS to HighSierra 10.13.1 and following a prompt in matlab to update java. I receive this each time I type in the command window. Doe sanyon eknow a fix?
thanks
Mark
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Deprecated in 10_12... DO NOT EVER USE CGSEventRecord directly. Bad things, man.... bad things.)
at apple.awt.ComponentModel._handleEvent(Native Method)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:273)
at apple.awt.CWindow.handleEvent(CWindow.java:545)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:753)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1000)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:865)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:686)
at java.awt.Component.dispatchEventImpl(Component.java:4648)
at java.awt.Container.dispatchEventImpl(Container.java:2142)
at java.awt.Window.dispatchEventImpl(Window.java:2492)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:690)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
4 Commenti
Salomon Eliasson
il 23 Nov 2017
Modificato: Walter Roberson
il 23 Nov 2017
I also get the same response after upgrading to High Sierra using MATLAB R2013a. Is it really unfixable?
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Deprecated in 10_12... DO NOT EVER USE CGSEventRecord directly. Bad things, man.... bad things.)
at apple.awt.ComponentModel._handleEvent(Native Method)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:273)
at apple.awt.CWindow.handleEvent(CWindow.java:545)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:753)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1000)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:865)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:686)
at java.awt.Component.dispatchEventImpl(Component.java:4648)
at java.awt.Container.dispatchEventImpl(Container.java:2142)
at java.awt.Window.dispatchEventImpl(Window.java:2492)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:690)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Walter Roberson
il 23 Nov 2017
Yes, it is really unfixable. El Capitan was the last version in which you could reliable configure preferences multiple Java versions.
Sierra hid the appropriate system configuration panel, but you can get it back if you know how. Unfortunately in Sierra, it appears to ignore any configuration preference for JRE6 .
If you need to be able to execute older MATLAB, then El Capitan was the sweet spot, as long as you did not go back so far that you needed one of the X based versions -- if you needed one of the X based versions then you need to go back to the version before El Capitan.
Sierra broke backwards compatibility in a number of respects. High Sierra broke it even further.
Salomon Eliasson
il 23 Nov 2017
OK thanks for the info. Starting MATLAB with the option -noawt at least lets me run MATLAB without the editor. That’ll have to do for now
Robert Weller
il 30 Dic 2017
Similar/same issue with R2012a in High Sierra.
Risposte (4)
Walter Roberson
il 22 Nov 2017
0 voti
That version of MATLAB is not supported on high sierra and probably cannot be made to work
Jeffery Anderson
il 5 Dic 2017
Modificato: Jeffery Anderson
il 5 Dic 2017
0 voti
That is quite disappointing to hear. 2013a worked fine on OSX sierra but as soon as the upgrade to high sierra, I have the issue reported above. Is there a way to suppress all java messages? MATLAB seems to work fine other than this.
Mark Elliott
il 5 Dic 2017
0 voti
1 Commento
Walter Roberson
il 7 Dic 2017
Parallels itself gets faster in later releases, so there is no harm in upgrading Parallels itself; it is Windows that you would not want to upgrade.
Zacarias Fabrim
il 7 Dic 2017
0 voti
This is such type of thing that move me to find some free alternative to Matlab! http://www.gnu.org/software/octave/
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!