Why do I receive Java errors when I try to edit any MATLAB file in MATLAB 7.1 (R14SP3)?
Show older comments
I am trying to open an MATLAB file named 'test.m' as follows:
edit test.m
MATLAB does not open the file and I receive following errors in the MATLAB command window:
java.lang.NoClassDefFoundError: org/openide/ErrorManager
at org.netbeans.editor.Utilities.<clinit>(Utilities.java:78)
at org.netbeans.editor.BaseTextUI.installUI(BaseTextUI.java:187)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.text.JTextComponent.setUI(Unknown Source)
at com.mathworks.widgets.SyntaxTextPaneBase.setUI(SyntaxTextPaneBase.java:1019)
at org.netbeans.editor.BaseKit.install(BaseKit.java:483)
at javax.swing.JEditorPane.setEditorKit(Unknown Source)
at javax.swing.JEditorPane.setContentType(Unknown Source)
at com.mathworks.widgets.SyntaxTextPane.<init>(SyntaxTextPane.java:332)
at com.mathworks.mde.editor.EditorSyntaxTextPane.<init>(EditorSyntaxTextPane.java:26)
<SNIP>
Accepted Answer
More Answers (0)
Categories
Find more on Call Java from MATLAB 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!