How to execute code generated from deployed tool?

1 回表示 (過去 30 日間)
krishna sravani
krishna sravani 2017 年 2 月 16 日
回答済み: Kojiro Saito 2017 年 2 月 16 日
I have created Java package using Library Compiler App ..and the generated output contains
  • for_redistribution
  • for_testing
  • for_redistribution_files_only
  • PackagingLog.txt
Then How to execute it in Java?Is it the right way of executing .jar file present in the folder FOR_TESTING?? Or any other way to execute it? Thanks in Advance for any Help.

採用された回答

Kojiro Saito
Kojiro Saito 2017 年 2 月 16 日
As described in this link, you need to create a java file, and compile using javac, then run using java.
The folders of the output of Library Compiler app are,
  • for_redistribution — A folder containing the installer to distribute the package
  • for_testing — A folder containing the raw generated files to create the installer
  • for_redistribution_files_only — A folder containing only the files needed to redistribute the package
So, for testing, you can do javac and java using the jar file in "for_testing".

その他の回答 (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