Deploytool fails to open in Matlab R2013a.
조회 수: 11 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Roja
2014년 6월 24일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!