Clear Filters
Clear Filters

How to execute code generated from deployed tool?

1 view (last 30 days)
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.

Accepted Answer

Kojiro Saito
Kojiro Saito on 16 Feb 2017
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".

More Answers (0)

Categories

Find more on Java Package Integration in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!