How to execute code generated from deployed tool?

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.

 Risposta accettata

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".

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by