How to build JAR via Library compiler on Mac

1 次查看(过去 30 天)
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.

回答(1 个)

Chetan Rawal
Chetan Rawal 2015-4-4
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 个评论
Vasily Ruzov
Vasily Ruzov 2015-4-4
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by