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.

Answers (1)

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 Comment

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

Sign in to comment.

Categories

Asked:

on 4 Apr 2015

Commented:

on 4 Apr 2015

Community Treasure Hunt

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

Start Hunting!