Why do I receive an error when I try to change my keyboard shortcut preferences in MATLAB 7.9 (R2009b)?
1 次查看(过去 30 天)
显示 更早的评论
I want to change my keyboard shortcut preferences in MATLAB 7.9 (R2009b), therefore I try to navigate to "File" -> "Preferences..." -> "Keyboard" -> "Shortcuts". However when I select the "Shortcuts" option I receive the following error:
PrefsDialog: unable to find class com.mathworks.mlwidgets.prefs.binding.KeyboardShortcutsPrefPanel, with method createPrefsPanel.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
(...)
Caused by: java.lang.NoClassDefFoundError: com/jidesoft/shortcut/ShortcutField
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
(snip)
采纳的回答
MathWorks Support Team
2009-12-18
This error can occur if there is something wrong with your 'classpath.txt' file. Most probably a customized classpath.txt which was based on the classpath.txt from a previous MATLAB version is used. To see which classpath.txt there are on your MATLAB path you can use the following command:
which -all classpath.txt
If you do not need a customized classpath.txt, remove all founds classpath.txt files except $MATLABROOT\toolbox\local\classpath.txt.
If you do need a customized classpath.txt, please create a new one which you base on $MATLABROOT\toolbox\local\classpath.txt.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!