deploytool.exe comes with Unable to load Java Runtime Environment.
4 ビュー (過去 30 日間)
古いコメントを表示
Matlab 2017a works and no other java environment other than matlab is installed.
The deploytool in Matlab works as expected but if I use the compiled version I get the error:
C:\Users\SmartUser>deploytool
Error: Unable to load Java Runtime Environment.
: C:\Program Files\MATLAB\R2017a\sys\java\jre\win64\jre\bin\server\jvm.dll
The same error I get if I use !deploytool in Matlab.
The OS is Windows 10 Enterprise
Thanks for your help! Robert
1 件のコメント
Sven Merk
2018 年 9 月 10 日
I'm having exacly the same issue. Building with the Compiler App insinde MATLAB however works.
回答 (1 件)
OCDER
2018 年 9 月 10 日
Also, since you do not have java runtime environment, use the "-R -nojvm" option, which means Runtime = no JVM. For example:
mcc -e myMainFile.m -a c:\Users\MyMatlabFiles -R -nojvm
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Java Package Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!