- Update your graphics driver to the latest version and see if the issue is resolved. If not,
- Start MATLAB from command prompt using the following command:
How can I resolve Java error when plotting with R2018b?
35 ビュー (過去 30 日間)
古いコメントを表示
Martin McHugh
2019 年 1 月 15 日
コメント済み: Saba Mirzahosseini Barough
2020 年 10 月 22 日
I recently updated to R2018b on a Linux machine (openSUSE 13.2 (Harlequin) (x86_64) 64-bit)
The plot command gives the following error:
Exception in thread "AWT-EventQueue-0": java.lang.RuntimeException: Waited 5000ms for: <9c124b, 20d9054>[count 2 [ add. 0, orig 2], qsz 0, owner <Startup Class Loader>, add.owner Startup Class Loader-SharedResourceRunner] - <AWT-EventQueue-0>
at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:199)
at com.jogamp.opengl.GLProfile.getDefaultDevice(GLProfile.java:2003)
at com.jogamp.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
at com.mathworks.hg.peer.GLCanvasPeerFactory.getCaps(GLCanvasPeerFactory.java:22)
at com.mathworks.hg.peer.GLCanvasPeerFactory.createHGCanvasPeerWithComponent(GLCanvasPeerFactory.java:63)
at com.mathworks.hg.peer.GraphicsPeerWithComponent.createJOGLCanvas(GraphicsPeerWithComponent.java:31)
at com.mathworks.hg.peer.GraphicsPeer.doCreateCanvas(GraphicsPeer.java:91)
at com.mathworks.hg.peer.GraphicsPeer.access$100(GraphicsPeer.java:14)
at com.mathworks.hg.peer.GraphicsPeer$1.run(GraphicsPeer.java:145)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
0 件のコメント
採用された回答
Areej Varamban Kallan
2019 年 1 月 21 日
編集済み: Areej Varamban Kallan
2019 年 1 月 21 日
Hi Martin,
Please try the following steps:
matlab -noopengl
Please note that the operating system openSUSE 13.2 is not supported by MathWorks and MATLAB is not qualified on this platform. A list supported operating systems can be found here
4 件のコメント
Hyun-su Kim
2020 年 3 月 6 日
Hi, the second solution works for me too. One more question is that do I have to do this always? So icon in the start menu is not useful anymore?
その他の回答 (1 件)
Nashmia Ziafat
2019 年 3 月 18 日
Hi!
I am the having same problem.I have tried both suggestions but are not working for me.Is there any other option?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!