Workaround for java error
显示 更早的评论
I have a graphics intensive Matlab script that occasionally gives the error
Exception in thread "AWT-EventQueue-0" javax.media.nativewindow.NativeWindowException: Error windowHandle 0, werr: 0
Would love guidance on eliminating this. I found this set of workarounds, but did not get success by updating the driver, turning off off GraphicsSmoothing, or switching to opengl('save','software') or opengl('save','hardwarebasic'). In case it's relevant, I have a 64 bit machine but am using the 32-bit version of R2015b (required by some hardware).
Here is the full java error message,

采纳的回答
更多回答(1 个)
Olivier Sauter
2019-1-19
0 个投票
I had many error messages when starting matlab and could not open the matlab editor, matlab although was working otherwise.
I tried resetting the .matlab and various preferences
At the end I simply needed to remove the felix-cache folder, which we should do regularly but keep forgetting...
1 个评论
Deepu George Kurian
2021-3-17
编辑:Deepu George Kurian
2021-3-18
I am encountering the exact same problem right now with my Matlab R2018b. Could you please elaborate on what you had to do? (I am not that good with these) @Olivier Sauter
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!