error package using java ?

조회 수: 1 (최근 30일)
Oman Wisni
Oman Wisni 2019년 1월 13일
댓글: Oman Wisni 2019년 1월 13일
Hi, Im trying to package my function using MATLAB Compiler Java Package, But I get error like this ?
ant:
<ant>
<mkdir dir="C:\Users\user\Desktop\latihanku\makesqr\for_redistribution" />
<mkdir dir="C:\Users\user\Desktop\latihanku\makesqr\for_testing" />
<mkdir dir="C:\Users\user\Desktop\latihanku\makesqr\for_redistribution_files_only" />
</ant>
mcc -W 'java:makesqr,Class1' -T link:lib -d C:\Users\user\Desktop\latihanku\makesqr\for_testing class{Class1:C:\Users\user\Desktop\latihanku\makesqr.m}
[Warning: Adding path "C:\Users\user\Desktop\latihanku" to Compiler path
instance.]
'javac' is not recognized as an internal or external command,
operable program or batch file.
Error: An error occurred while shelling out to javac (error code = 1).
Unable to build executable (specify the -v option for more information).
Could anyone help me please, why I got an error like this ?
versi java my MATLAB :
Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
And my java version is 1.7.0_80
  댓글 수: 1
Oman Wisni
Oman Wisni 2019년 1월 13일
have been done. I fixed this problem..

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by