Can't "Add MCR" in Matlab Compiler (get Java error)
Show older comments
[EDIT: 20110623 09:21 CDT - reformat - WDR]
Hi.
When I try to add the MCR (7.15) to a package, I get the following java error immediately I click on "add MCR". Anyone know what it means?
thanks
Running Matlab R2011a 32-bit on Windows7. MCR 7.15
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid unit name 'fill'. Must be one of: px, dlu, pt, mm, cm, in
at com.jgoodies.forms.layout.ConstantSize$Unit.valueOf(ConstantSize.java:430)
at com.jgoodies.forms.layout.ConstantSize.valueOf(ConstantSize.java:154)
at com.jgoodies.forms.layout.FormSpec.parseAtomicSize(FormSpec.java:413)
at com.jgoodies.forms.layout.FormSpec.parseSize(FormSpec.java:309)
at com.jgoodies.forms.layout.FormSpec.parseAndInitValues(FormSpec.java:286)
at com.jgoodies.forms.layout.FormSpec.<init>(FormSpec.java:181)
at com.jgoodies.forms.layout.ColumnSpec.<init>(ColumnSpec.java:161)
at com.jgoodies.forms.layout.ColumnSpec.decodeExpanded(ColumnSpec.java:240)
at com.jgoodies.forms.layout.FormSpecParser.parseColumnSpecs(FormSpecParser.java:130)
at com.jgoodies.forms.layout.FormSpecParser.parseColumnSpecs(FormSpecParser.java:106)
at com.jgoodies.forms.layout.ColumnSpec.decodeSpecs(ColumnSpec.java:280)
at com.jgoodies.forms.layout.FormLayout.<init>(FormLayout.java:402)
at com.jgoodies.forms.layout.FormLayout.<init>(FormLayout.java:359)
at com.mathworks.mde.deploytool.filesetui.ReferenceOptionDialog$4.run(ReferenceOptionDialog.java:329)
at com.mathworks.mde.deploytool.filesetui.ReferenceOptionDialog.createPreferenceLinkPanel(ReferenceOptionDialog.java:346)
at com.mathworks.mde.deploytool.filesetui.ReferenceOptionDialog.access$1000(ReferenceOptionDialog.java:65)
at com.mathworks.mde.deploytool.filesetui.ReferenceOptionDialog$DialogPanel.<init>(ReferenceOptionDialog.java:197)
at com.mathworks.mde.deploytool.filesetui.ReferenceOptionDialog.<init>(ReferenceOptionDialog.java:139)
at com.mathworks.mde.deploytool.filesetui.ReferenceOptionDialog.show(ReferenceOptionDialog.java:102)
at com.mathworks.mde.deploytool.filesetui.FileSetLinkUtils$4.run(FileSetLinkUtils.java:166)
at com.mathworks.mde.deploytool.filesetui.FileSetLinkUtils$6.processHyperlink(FileSetLinkUtils.java:195)
at com.mathworks.widgets.HyperlinkTextLabel.processHyperlink(HyperlinkTextLabel.java:240)
at com.mathworks.widgets.HyperlinkTextLabel.access$100(HyperlinkTextLabel.java:78)
at com.mathworks.widgets.HyperlinkTextLabel$2.hyperlinkUpdate(HyperlinkTextLabel.java:185)
at javax.swing.JEditorPane.fireHyperlinkUpdate(Unknown Source)
at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(Unknown Source)
at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at com.mathworks.mwswing.MJEditorPane.processMouseEvent(MJEditorPane.java:158)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
>>
1 Comment
Walter Roberson
on 23 Jun 2011
Is there an indication somewhere of which java version it is using?
Accepted Answer
More Answers (0)
Categories
Find more on Deploy to Java Applications Using MWArray Data API in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!