MATLAB Answers

0

How to build JAR via Library compiler on Mac

Asked by Vasily Ruzov on 4 Apr 2015
Latest activity Commented on by Vasily Ruzov on 4 Apr 2015
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Chetan Rawal on 4 Apr 2015

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.