deploytool
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Chirag Gupta
on 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
See Also
Categories
Find more on Java Package Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!