Hello Petr,
The full image is created in <outputdir>/images/jdk. That is essentially
the runtime you need. If you do "make product-bundles" you get it in a
tar.gz as well.
/Erik
On 2018-08-23 00:48, Petr Sumbera wrote:
Hi Magnus,
On 23.08.2018 9:14, Magnus Ihse Bursie wrote:
On 2018-08-22 17:13, Petr Sumbera wrote:
Hi all,
I'm now able to build both OpenJDK 10 and 11 (thanks to all who
helped me!). Now what is the correct way to install it for
packaging? For now I use following patch (see below). But I wonder
how should this be done properly.
Hi Petr,
The code path you've found out has not been tested since the early
days of the current (then "brand new") build system. I've actually
been thinking from time to time that we should remove it, since it's
not ordinarily used.
Than I wonder what other distributions do? They probably just pick up
files they need like here:
http://www.linuxfromscratch.org/blfs/view/cvs/general/openjdk.html
But I don't really know what is need it.
But if you see a point in keeping it, I'm happy to accept patches! :)
Good to know!
Does the installation work fine with the patch below?
It seems to. But I just installed it to build Java itself. Plus also
tried to build Tomcat and run its test suite.
But not really sure whether following directory structure is good enough:
usr/jvm/openjdk-11
usr/jvm/openjdk-11/bin
usr/jvm/openjdk-11/demo
usr/jvm/openjdk-11/lib
usr/jvm/openjdk-11/include
usr/jvm/openjdk-11/jmods
usr/jvm/openjdk-11/conf
usr/jvm/openjdk-11/man
In Solaris for JDK 8 we have:
usr/jdk/instances/jdk1.8.0
I mean "jdk" is probably better than "jvm"? Maybe I should try to keep
existing structure.
Thanks!
Petr