IcedTea-Web & Java 11

Jiri Vanek jvanek at redhat.com
Wed Sep 5 13:32:08 UTC 2018


On 09/05/2018 03:00 PM, Laurent Bourgès wrote:
> Jiri,
> 
> Few answers, I will give you a detailed report in the other thread.

Thank you.
> 
>      >
>      > Maybe try icedtea-1.8 as Jiri mentioned shell scripts were improved.
>      >
> 
>     I need to clarify this.
>     Please do not mix icedtea, build wrapper and enhancer around openjdk anf icedtea-web - javaws open
>     implementation.  icedtea-web started as part of icedtea, thus the name, but now is completely
>     separated project. With different version and release cycle.
> 
> 
> OK, I wrote icedtea but I meant ITW, sorry.

NP. It is just very usual misunderstanding so I wonted to highlight and ensure.
> 
>       > Maybe try icedtea-1.8 as Jiri mentioned shell scripts were improved.The shell launchers are
>     deprecated in 1.8
> 
>     The sh/bat launchers are deprecated in 1.8. They are being rewritten to rust. The base are unix sh
>     launchers.  Teh sh/bat files will kept living, as the are useful on linuxes, but all care will be
>     given to new  win+linux shared native launchers.
> 
> 
> What is the pros/cons of writing native launchers ?

Windows. They are very bad on living with .bats.  Also we have duplicated  codebase for bat and sh, 
which is already now making people unhappy and confused (the email from Bundit). I really don't know 
any other way how to make windows and linux launchers based on shared code.

Ideal world I can imageine, is to remove bat launchers, and compile sh ones to standalone binary 
(highlight no cygwin)

> I am very happy with simple (but straight forward) shell scripts, as it is easy to edit / fix.

Yes. I do the same, and I really wish to continue support for them, at least until native ones 
proves themselves (two three years).

> For example, I hacked the Makefile to keep generating windows batch files to have them generated on 
> linux and fix them on my windows test machine.
> I am not sure if I would be able to perform cross-compilation on my linux machine ...

I hope, that crosscompialtion will not be needed.   If you built it on linux, and it works, it 
should work also after built on windows and vice versa.
Yes, with bats, you could probably distribute them to final windows environemtns. With crosscompiled 
binaries... I never trusted them... Is even solid crosscompialtion linux-windows possible?

> 
> 
>       > Maybe try icedtea-1.8 as Jiri mentioned shell scripts were improved.The shell launchers are
>     deprecated in 1.8
> 
>     Nope:( We still did not moved with the rust launchers as much as we wished. The base is pushed, and
>     jdk detection patch is under review. But taht is far from being experimented with on base jdk
>     11/12/8. Sorry. For this, the bat/sh lunchers stil have to be used.
>        Once the jdk detection will be in, all will be much faster I guess, and so 1.8 will land soon
>     after it I hope.
> 
> 
> I cloned the bleeding edge repository but the rust launchers are still almost empty. Probably your 
> changes are waiting for review...

Thats true. So please, focus your work on sh/bat. From sh, it will bubble to rust ones (unless we 
discard them  if different approach will be suddenly taken)
> 
> Cheers,
> Laurent


-- 
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com    M: +420775390109


More information about the distro-pkg-dev mailing list