How to build JAR via Library compiler on Mac

Hello, I'm using R2014b on mac and I wonder if there some way to build jar. I've found some tutorials for windows and when I follow them I can't find "Java package" in "Target type" area of compiler window. I have only "C Shared library" and "C++ Shared library". Maybe I missed some env.variables, but I don't know which ones.

Antworten (1)

Chetan Rawal
Chetan Rawal am 4 Apr. 2015

0 Stimmen

Hi Vasily,
Looks like you do not have MATLAB Builder JA for Java (it is called MATLAB Compiler SDK in R2015a). You only have MATLAB Compiler which comes with C/C++ integration. MATLAB BUILDER for Java is an additional add-on you need to get for Java.
Chetan

1 Kommentar

Vasily Ruzov
Vasily Ruzov am 4 Apr. 2015
Hi Chetan, I have installed it. After installation it said I should set environment variable. I did it and restarted the Matlab from the terminal shell, where I set the env.var. But I still don't see "java package" type

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB Compiler SDK finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 4 Apr. 2015

Kommentiert:

am 4 Apr. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by