Setting up Java Environment

3 ビュー (過去 30 日間)
keenN
keenN 2011 年 4 月 18 日
could anyone help me, please. I would like to use the JA builder in R2010b version. First, I already set up JAVA_HOME with this path C:\Program Files\Java\jdk1.6.0_17
got this getenv JAVA_HOME
ans =
C:\Program Files\Java\jdk1.6.0_17
However,
>> java -version ??? Attempt to execute SCRIPT java as a function: C:\Program Files\MATLAB\R2010b\toolbox\matlab\general\java.m
does anyone know what could be the problem?

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2011 年 4 月 18 日
I believe the right command is:
>> version -java
"java -version" can be executed a system command:
>> !java -version

カテゴリ

Help Center および File ExchangeCall Java from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by