6 ms·
There is no install time in Java. If you want something to happen at install time you'd have to ship a shell script with the installer that does a brief traini
by samus 5d ago
There is no install time in Java. If you want something to happen at install time you'd have to ship a shell script with the installer that does a brief training run when the application is first started.
- ptx 5d agoThere is with jpackage. The packages it builds could include install scripts (or custom actions in the case of MSI) to run at install time. The script wouldn't have to do the training run at install time, as I understand it, just the AOT compilation. See the section on "AOTMode=record" vs "AOTMode=create" in the JEP.