MATLAB library compiler for Java package error

3 views (last 30 days)
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 Comments
Kojiro Saito
Kojiro Saito on 1 Apr 2019
It might be because you're trying to use Java 8 with MATLAB R2013b ~ R2017a whose JVM is Java 7. Please see this answer.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!