Deploytool fails to open in Matlab R2013a.
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi everyone,
Greetings for the new year!
I have Matlab R2013a and Matlab Compiler 4.18.1. When I click on Matlab Compiler or I type deploytool in command window, I get the following error:
Undefined variable "com" or class
"com.mathworks.mde.deploytool.plugin.PluginManager.allowMatlabThreadUse".
Error in deploytool (line 39)
com.mathworks.mde.deploytool.plugin.PluginManager.allowMatlabThreadUse()
On line 39, the comment says it calls Java to parse command line.
When I type
version -java
I get answer as
Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
I have downloaded JDK1.6.0_17 version of Java.
Since I am not well versed with Java, I do not know that is causing this problem. The rest of the tool boxes open without any error.
Please help!
Best Regards, Rishi
0 Commenti
Risposte (1)
Roja
il 24 Giu 2014
The error indicates that the MATLAB installation is missing the following java files:
MATLABROOT\java\jar\project\impl.jar
MATLABROOT\java\jar\project\api.jar
In addition, the above two paths should be present in the output of the JAVACLASSPATH, among the static Java paths; if not, the following entries need to be added to "classpath.txt" in "<MATLABROOT>\toolbox\local"
#Java classpath entries for matlab_java_project_api
$matlabroot/java/jar/project/api.jar
#Java classpath entries for matlab_java_project_impl
$matlabroot/java/jar/project/impl.jar
I would suggest reinstalling MATLAB. This should fix all of the above.
0 Commenti
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!