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

Mani Sarkar sadhak001 at gmail.com
Fri Sep 22 22:40:05 UTC 2017


Have a look at the examples and exercises at
https://github.com/AdoptOpenJDK/jdk9-jigsaw, and you can see how to use
jlink and the produced artifacts.

On Fri, 22 Sep 2017 23:36 Scott Palmer <swpalmer at gmail.com> wrote:

> I believe that is the intention.  I think you use javapackager to bundle
> the image up into something that is self-contained.
>
> Scott
>
>
> > On Sep 22, 2017, at 4:09 PM, kant kodali <kanth909 at gmail.com> 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