Where is the Java Virtual Machine used by MATLAB? (Tell Eclipse to use the same JVM as MATLAB?)

2 ビュー (過去 30 日間)
Patrick Hew
Patrick Hew 2018 年 2 月 26 日
回答済み: Patrick Hew 2018 年 2 月 26 日
I plan to create some Java classes that I will call from MATLAB. To avoid incompatibilities, I would like to tell Eclipse to use the same Java Virtual Machine as used by my MATLAB installation. The Eclipse Installer has offered to let me browse for 'javaw.exe" - where might I find it? (Many thanks in advance.)
>> ver
MATLAB Version: 9.0.0.341360 (R2016a)
MATLAB License Number: [DELETED]
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 15063)
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

回答 (1 件)

Patrick Hew
Patrick Hew 2018 年 2 月 26 日
(Apologies for answering my own question): I may have found it in
R2016a\sys\java\jre\win64\jre\bin\

カテゴリ

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