slightly ot: java9 runtime images

Danno Ferrin danno.ferrin at oracle.com
Thu May 7 16:26:37 UTC 2015


I looked at the man pages, and it’s not there.  That is strange because I remember working with the docs people to get them the info they needed.

The best docs are from my JavaOne presentation:  
https://oracleus.activeevents.com/2014/connect/fileDownload/session/3B139AAF656DC1741328669FE873981E/CON2247_Ferrin-8u20%20packager.pdf <https://oracleus.activeevents.com/2014/connect/fileDownload/session/3B139AAF656DC1741328669FE873981E/CON2247_Ferrin-8u20%20packager.pdf>

As far as java callbacks… the support is fairly basic at the moment.  You own the JVM w/o a security sandbox so you can add standard shutdown hooks as well as other libraries that react to unix signals.  Signals are non-standard as the current Java signal classes exist in sun.misc.*, hence they an internal API and will not be accessible in JDK 9 (without contortions).

For windows a custom service executable is created.
For Linux init.d scripts are added.
For Mac launchd is used.

> On May 7, 2015, at 8:04 AM, Tom Schindl <tom.schindl at bestsolution.at> wrote:
> 
> [...]
> 
>> In 8u40 we added an option to install your application as service or daemon, so you can use the java packager to install your microsoervices.
>> 
> 
> [offtopic]
> 
> Interesting where is this documented - google did not show up any
> results? Do I get callbacks in my Java code to react on a shutdown request?
> 
> Tom
> 
> -- 
> Thomas Schindl, CTO
> BestSolution.at EDV Systemhaus GmbH
> Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
> http://www.bestsolution.at/
> Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck



More information about the openjfx-dev mailing list