How to execute code generated from deployed tool?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Java Package Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by