getting error when activating

4 次查看(过去 30 天)
Cynthia An
Cynthia An 2015-8-12
I got this exception says unknown protocol: c after I have successfully installed MatLab and starting to activate it.
The log file says: 八月 12, 2015 10:15:18)Starting activation process. (八月 12, 2015 10:15:18)Performing interactive activation. (八月 12, 2015 10:15:19)MATHWORKS ACTIVATION IS STARTING UP. (八月 12, 2015 10:15:40)java.net.MalformedURLException: unknown protocol: c unknown protocol: c java.net.URL.(Unknown Source) java.net.URL.(Unknown Source) java.net.URL.(Unknown Source) org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.DOMParser.parse(Unknown Source) org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) javax.xml.parsers.DocumentBuilder.parse(Unknown Source) com.mathworks.instutil.licensefiles.MarkerUtilityImpl.readXMLFile(MarkerUtilityImpl.java:101) com.mathworks.instutil.licensefiles.MarkerUtilityImpl.lookUpInLocation(MarkerUtilityImpl.java:137) com.mathworks.instutil.licensefiles.MarkerUtilityImpl.checkIfMatchFound(MarkerUtilityImpl.java:124) com.mathworks.instutil.licensefiles.MarkerUtilityImpl.installMarkerFile(MarkerUtilityImpl.java:58) com.mathworks.activationclient.model.ActivationModelImpl.installLicense(ActivationModelImpl.java:257) com.mathworks.activationclient.command.InstallLicenseCommand.execute(InstallLicenseCommand.java:20) com.mathworks.activationclient.command.ValidateNetworkLicenseCommand.execute(ValidateNetworkLicenseCommand.java:29) com.mathworks.activationclient.command.ActivateCommand.execute(ActivateCommand.java:23) com.mathworks.activationclient.controller.BasePanelController.nextButton(BasePanelController.java:71) com.mathworks.activationclient.view.options.ActivationOptionsPanelImpl$3.actionPerformed(ActivationOptionsPanelImpl.java:77) javax.swing.AbstractButton.fireActionPerformed(Unknown Source) javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) javax.swing.DefaultButtonModel.setPressed(Unknown Source) javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) java.awt.Component.processMouseEvent(Unknown Source) javax.swing.JComponent.processMouseEvent(Unknown Source) java.awt.Component.processEvent(Unknown Source) java.awt.Container.processEvent(Unknown Source) java.awt.Component.dispatchEventImpl(Unknown Source) java.awt.Container.dispatchEventImpl(Unknown Source) java.awt.Component.dispatchEvent(Unknown Source) java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) java.awt.Container.dispatchEventImpl(Unknown Source) java.awt.Window.dispatchEventImpl(Unknown Source) java.awt.Component.dispatchEvent(Unknown Source) java.awt.EventQueue.dispatchEventImpl(Unknown Source) java.awt.EventQueue.access$200(Unknown Source) java.awt.EventQueue$3.run(Unknown Source) java.awt.EventQueue$3.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) java.awt.EventQueue$4.run(Unknown Source) java.awt.EventQueue$4.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) java.awt.EventQueue.dispatchEvent(Unknown Source) java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.awt.EventDispatchThread.run(Unknown Source)

回答(1 个)

Brian Neiswander
Brian Neiswander 2015-8-14
编辑:Brian Neiswander 2015-8-14
This issue can occur if your system (eg. Windows) username contains special characters. To resolve this issue, try creating a new user account without special characters and activate MATLAB for that username.
If you have no special characters in your username then, as Muthu mentioned, you should contact the MathWorks Technical Support.

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by