Why do I receive an error when I try to change my keyboard shortcut preferences in MATLAB 7.9 (R2009b)?
2 views (last 30 days)
Show older comments
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)
Accepted Answer
MathWorks Support Team
on 18 Dec 2009
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 Comments
More Answers (0)
See Also
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!