deploytool

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.

답변 (1개)

Chirag Gupta
Chirag Gupta 2012년 3월 8일

0 개 추천

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
Aldin 2012년 3월 8일
I use NetBeans for coding in JAVA
Aldin
Aldin 2012년 3월 8일
java: jdk1.6.0_22
path: C:\Program Files\Java\jdk1.6.0_22\bin
right?

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

카테고리

도움말 센터File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

태그

질문:

2012년 3월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by