IcedTeaWeb: using java 9 run args ?
Jiri Vanek
jvanek at redhat.com
Tue Oct 9 10:20:50 UTC 2018
On 10/9/18 9:24 AM, Laurent Bourgès wrote:
> Jiri,
>
> I will prototype moving all java9 args from linux launchers into a common arg file: itw.args.
>
> It will reduce the size and complexity and allow its reuse in windows launchers.
> I suppose it will simplify rust launchers too.
Major issue is I guess to find that file. The global x user configurations are different. Also it
can use per-vm configurations and in addition (linux x window) x (installed x selfbuild x
unpacked) locations are different.
Maybe more friendly will be to include that in deployment properties? Maybe path to this file can be
in deplyment properties?
This complication was the actual reason I had it hardcoded. (especilly with duplicated hardcoding
in plugin, but htat issue is mos likely gone by plugin being deprecatyed in 1.8 and removed in 1.9).
Now, if this file will be used for -add-provides and friends, should it serve also for other java
params? We already ahve this covered via -J and via one deployment property (whih is I'm afraid
untested, unknow and never tempted out of the plugin).
Thoughts?
J.
>
>
> > I wonder if you would agree giving java 9 add-reads, add-export args as argument files ?
> > See
> >
> https://blog.codefx.org/java/five-command-line-options-hack-java-module-system/#Thoughts-On-Command-Line-Options
> >
> > It would simplify a lot the linux / windows shell scripts and possibly rust launchers (1.8) and
> > allow using the same arg file for both win/unix launcher (unified).
> >
>
> Hi!
>
> Interesting idea...
>
> Isnt it already achievable via -J ?
> /me not tried
>
>
> This work is dedicated to improving existing shell scripts, not using arg file for the jnlp
> application (out of scope).
>
> 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