Ja Builder with java 1.7

1 回表示 (過去 30 日間)
Reda
Reda 2013 年 10 月 8 日
コメント済み: Enric 2015 年 2 月 6 日
Hello,
I compiled some matlab functions into a .jar to use in a Java application.
When debuging the java application in eclipse, the call tothe created .jar gives me the follwing error: libmwblas: load error: mkl.dll
I am using matalb 2013a. matlab and eclipse are both set to use:
Java 1.7.0_09-b05 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
Any help with this is much appreciated ...
  2 件のコメント
Harsheel
Harsheel 2013 年 10 月 8 日
編集済み: Harsheel 2013 年 10 月 8 日
Java 7 is unsupported with MATLAB R2013a (Java 7 is supported beginning R2013b). Can you try using Java 6 with both MATLAB and Eclipse and see if the issue persists?
Reda
Reda 2013 年 10 月 9 日
Thanks Harsheel for your useful comment. Indeed, everythig works well when compiling with
Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode
For those looking for all the compiler compatibility info, here is the relevant page :

サインインしてコメントする。

採用された回答

Friedrich
Friedrich 2013 年 10 月 9 日
Hi,
please apply the following patch and try again.
  2 件のコメント
Reda
Reda 2013 年 10 月 9 日
Thanks Friedrich. Since everything works with Java 1.6 I will stick with this solution until we upgrade to Matlab 2013b. I will keep your answer as a reference in case we have trouble when upgrading.
Enric
Enric 2015 年 2 月 6 日
It worked!! I'll have to update soon to 2014, had many problems with bugs in 2013a...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeJava Package Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by