MATLAB library compiler for Java package error

3 次查看(过去 30 天)
ant: ant dir="C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\cec\for_redistribution" / dir="C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\cec\for_testing" / dir="C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\cec\for_redistribution_files_only" / /ant mcc -W 'java:cec,Class1' -T link:lib -d 'C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\cec\for_testing' class{Class1:C:\Users\radhwane\Documents\MATLAB\cec.m} [Warning: Adding path "C:\Users\radhwane\Documents\MATLAB" to Compiler path instance.] Le chemin d'accٹs sp‚cifi‚ est introuvable. Error: An error occurred while shelling out to javac (error code = 1). Unable to build executable (specify the -v option for more information).
  2 个评论
Kojiro Saito
Kojiro Saito 2019-4-1
It might be because you're trying to use Java 8 with MATLAB R2013b ~ R2017a whose JVM is Java 7. Please see this answer.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by