Do I need to have Java 9 installed to run the image generated by jLink?

Mani Sarkar sadhak001 at gmail.com
Sat Sep 23 10:09:38 UTC 2017


Hi Sundar,

Although can we cannot run this app on any OS on the target machine, but
the specific OS it has been compiled/linked on.

So its portable across machines across the same OS type.

I hope my understanding is correct, happy to be corrected.

Thanks.

Regards,
Mani



On Sat, 23 Sep 2017 02:35 Sundararajan Athijegannathan <
sundararajan.athijegannathan at oracle.com> wrote:

> Hi,
>
> jlink produced image dir is complete - it has jvm, required platform +
> app modules, config. etc. to run your modular app.  You don't need to
> install java separately on the target machine ("machine 2").
>
> Thanks,
> -Sundar
>
> On 23/09/17, 1:39 AM, kant kodali wrote:
> > Hi All,
> >
> > Let's say I create a modularize my app and generate a image using jLink
> on
> > machine1 and from what I understand the image has the runtime as well so
> if
> > I transfer this image to machine 2 which has nothing installed(not even
> > Java) can I simply run my app on machine? or does machine2 also need to
> > have Java installed?
> >
> > Thanks!
>
-- 
@theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
<http://neomatrix369.wordpress.com/>**  |  *@adoptopenjdk | Dev communities
*Meet-a-Project - *MutabilityDetector
<https://github.com/MutabilityDetector>*  |  **Bitbucket
<https://bitbucket.org/neomatrix369>* * |  **Github
<https://github.com/neomatrix369>* * |  **LinkedIn
<http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
*Come to Devoxx UK 2018:* http://www.devoxx.co.uk/

*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*


More information about the jdk9-dev mailing list