MATLAB Answers


조회 수: 3(최근 30일)
Aldin 8 Mar 2012
I want to create a jar file in MATLAB. But i get this message:
'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.
How to solve my problem. Maybe it's about environment variables.

  댓글 수: 0

로그인 to comment.


Chirag Gupta
Chirag Gupta 8 Mar 2012
You need to have a java SDK installed. If you already have a JAVA SDK installed, you should check the JAVA_HOME environment variable.
You can also add the path to the jdk/bin folder containing JAVAC to your PATH environment variable

  댓글 수: 2

Aldin 8 Mar 2012
I use NetBeans for coding in JAVA
Aldin 8 Mar 2012
java: jdk1.6.0_22
path: C:\Program Files\Java\jdk1.6.0_22\bin

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.

Translated by