MEvent. Case! issue when scrolling, without Synaptics Touchpad
이전 댓글 표시
Hi everyone,
I have a problem with Matlab (2017a) on my Ubuntu 17.10 machine. After upgrading to Ubuntu 17.10, I started experiencing the MEvent.Case! problem when finger scrolling, as described in other threads such as this: https://stackoverflow.com/questions/24610534/deactivate-mevent-case-in-java-ides and this: https://de.mathworks.com/matlabcentral/answers/112528-mevent-case-when-two-finger-scrolling .
Most of the solutions I found (changing the "Synaptics Two Finger Scrolling" and "Horizontal Scrolling" options, creating a startup.m file) rely on having a Synaptics touchpad. Given that I don't have Synaptics touchpad, the solution that seemed to work for me is the second on the Stackoverflow link, that relies on installing openjdk-7. Of note, openjdk-7 has not been released for Ubuntu 17.10, so I installed openjdk-8.
Following the instructions on the link, I ran 'export MATLAB_JAVA=/usr/lib/jvm/openjdk-8-jdk/jre' on the terminal before starting Matlab. However, also this solution does not work for me, because when I open Matlab I get the following error: 'PostVMInit failed to initialize com.mathworks.mwswing.MJStartupForDesktop'
and I then get more errors when using Matlab, of the kind: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.mwswing.MJStartupForDesktop
Does anyone have any insight on how to solve the MEvent.Case! issue in this case? It is almost impossible to use Matlab in these conditions.
Thank you very much in advance!
댓글 수: 1
Dushyant Sahoo
2020년 11월 23일
Hi, were you able to solve this problem?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!