MATLAB library compiler for Java package error

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 Kommentare

Amrutha
Amrutha am 30 Mär. 2019
same error please help
It might be because you're trying to use Java 8 with MATLAB R2013b ~ R2017a whose JVM is Java 7. Please see this answer.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB Compiler SDK finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Mär. 2017

Kommentiert:

am 1 Apr. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by