Custom Java 9 image as single executable.
dalibor topic
dalibor.topic at oracle.com
Fri Dec 16 10:28:26 UTC 2016
In addition to the java executable itself, the modular runtime image
contains other files. You can find a description of its contents here:
http://openjdk.java.net/jeps/220 .
Go, like C, C++, etc. produces a native binary from native object files.
Embedding resources into such an executable binary requires those
resources to be pre- or post-processed in some form, to make them fit in
as native object files, for example. A longer article on the various
options regarding Go can be found here:
http://blog.ralch.com/tutorial/golang-embedded-resources/ .
cheers,
dalibor topic
On 10.12.2016 20:36, Evgueni Gordienko wrote:
> While java 9 linker produces customized image it is still a directory
> structure. Why wasn't it decided to create a single file executable image
> like go does?
>
> Eugene
>
--
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>
ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment
More information about the adoption-discuss
mailing list