adoptium / installer

Installer scripts for Eclipse Temurin binaries
Apache License 2.0
149 stars 75 forks source link

Include IcedTea-Web in AdoptOpenJDK installer #22

Closed don-vip closed 5 years ago

don-vip commented 5 years ago

It would be great if the AdoptOpenJDK install also include IcedTea-Web natively, to ease the transition from Oracle JRE for Java WebStart applications.

IcedTea-Web is developed by RedHat and works on Linux, Windows and possibly also on macOS.

karianna commented 5 years ago

Need to have a long hard think about supporting this out of the box. WebStart has been deprecated/removed due to significant security concerns but we do of course sympathize with those who have no other choice.

Perhaps an alternative bundle can be produced.

smlambert commented 5 years ago

I am definitely interested in this one :) - we have played around with this locally, and have fielded a good number of queries about it.

don-vip commented 5 years ago

Do you have concrete information about those security concerns? Every time I tried to ask details to Oracle about that, they never answered. As WebStart requires code signing, I don't see it as a less secure technology than distributing standalone unsigned Java applications on the Internet.

charliegracie commented 5 years ago

I was just about to open an Issue for the exact same thing! I think one of the great aspects AdoptOpenJDK can bring to the table is improving the out of the box developer experience. I would be willing to help add this functionality. IcedTea-Web binaries can easily be downloaded for the Windows platform here. It looks like it would be a very simple change to add this functionality to the Windows build as an experiment. I think in the longer term it should be fairly easy to build it for all platforms as part of the build process if that makes sense.

karianna commented 5 years ago

Do you have concrete information about those security concerns? Every time I tried to ask details to Oracle about that, they never answered. As WebStart requires code signing, I don't see it as a less secure technology than distributing standalone unsigned Java applications on the Internet.

I'm afraid I can't comment on them no, suffice to say the Lion's share of Java security issues for a number of years were related to Web-start

charliegracie commented 5 years ago

@karianna I am not that familiar with the Windows installer and how to use it. I am wondering if the AdoptOpenJDK Windows installer could provide an option that user would select at install time to allow it to install the IcedTea-Web as part of the install. This would mean it would not be installed or packaged by default but that the user could choose to install it at the same time they are installing the JDK and into a location that would allow it to work seamlessly with the JDK. Thoughts?

gdams commented 5 years ago

yeah I'd say a tick box would be the obvious way to handle this! thoughts @alexhass ?

alexhass commented 5 years ago

Sure, can be an optional feature.

charliegracie commented 5 years ago

What is the current status of the Windows installer? Is it ok if I go ahead and try to prototype the optional install of IcedTea-Web?

Does AdoptOpenJDK currently create Windows installer packages available for download? Is this something that is expected to be offered? Is there work I can do to help with this?

karianna commented 5 years ago

@charliegracie There's an MSI installer created by @alexhass which we haven't integrated into the pipelines yet but that would be the right place to start. The code for that is in this repo

charliegracie commented 5 years ago

Thanks! @karianna is there a timeframe for when you think the MSI builds will be integrated into the pipelines?

gdams commented 5 years ago

we are trying to work with @alexhass to get these implemented ASAP

JVigs commented 5 years ago

Any status on this? I also would love to see an installer for Icedtea-web.

don-vip commented 5 years ago

Just found out one more good reason to include ITW. It has a Christmas extension! 🎅

karianna commented 5 years ago

This will get some priority in Q1 next year (likely January)

brenwhyte commented 5 years ago

Any update on this?

karianna commented 5 years ago

First installer meeting is happening this week, we're looking to get the Windows MSI installer up and running. After that, we can figure out how to bundle Iced-Tea. You can join our team at adoptopenjdk.net/slack.html

don-vip commented 5 years ago

If OpenWebStart becomes a reality, it might be an improvement of IcedTea-Web, thus a better choice. Quoting Karakun:

Currently we are looking for funding. Once funding is secured, we will start development. Beta tests might be availabe in Q2 2019.

Artoria2e5 commented 5 years ago

IcedTea folks have a Windows MSI/ZIP build at http://icedtea.wildebeest.org/download/icedtea-web-binaries/1.7.2/windows/. You can start playing with it. It lacks an option to associate .jnlp files by default, which is a mild annoyance.

In the unlikely case it becomes unhappy with newer versions of Java (removal of sun.applet.AppletImageRef), copying stuff from OpenJDK 9 seems to work (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912549). I heard that the use of that removed thing is removed in 1.7.2.

douph1 commented 5 years ago

What is the current status of the Windows installer?

In production

Is it ok if I go ahead and try to prototype the optional install of IcedTea-Web?

Yes sure go on

Does AdoptOpenJDK currently create Windows installer packages available for download?

Yes now it's reality with many bugs closed for next released

Is this something that is expected to be offered?

Msi are available for download

Is there work I can do to help with this?

Yes go on please

douph1 commented 5 years ago

WIP https://github.com/AdoptOpenJDK/openjdk-installer/pull/87

mfriedenhagen commented 5 years ago

Just last week I extracted netx.jar from Debian's icedtea-netx_1.7.2-2_all.deb and started a jnlp file like java -cp netx.jar net.sourceforge.jnlp.runtime.Boot -Xnofork -jnlp XXX.jnlp, following instructions found at https://apple.stackexchange.com/questions/342943/in-macos-how-to-run-a-jnlp-file-with-openjdk-8. Worked like a charme.

gdams commented 5 years ago

closing, ITW 1.8.1 has landed, installers will be bundled with it in the next release and nightlies are already available for testing.

mauromol commented 5 years ago

This is great news! :-)

don-vip commented 5 years ago

Thanks a lot!

wanderleihuttel commented 5 years ago

Hello I'm installed JRE (OpenJDK8U-jre_x64_windows_hotspot_8u212b03.msi) and (1.8 itw-installer.msi) but it doesn't work like Oracle JRE. The applications that has executable files, it looks works fine, but I'm talking about (.jnlp and .jar files). Is not possible to only do a double click to open. There is some tip to make work like Oracle JRE?

maverick74 commented 5 years ago

@wanderleihuttel is this related to #32?

wanderleihuttel commented 5 years ago

@maverick74. Yes, is related!

wanderleihuttel commented 5 years ago

@maverick74 , just for knowing! I'm tested ojdkbuild (https://github.com/ojdkbuild/ojdkbuild) and this project is possible to install ITW together. Could be something like that.

karianna commented 5 years ago

@douph1 Is this like an installer issue or an ITW issue? I'd like to open a bug in the correct repo.

douph1 commented 5 years ago

1.8 itw-installer.msi is from https://github.com/AdoptOpenJDK/icedtea-web

douph1 commented 5 years ago

@wanderleihuttel by default installer install reg key per machine ( for all users ) but if you have registered something per user , user config is used first and please add revelent information into good project : https://github.com/AdoptOpenJDK/IcedTea-Web/issues/268

douph1 commented 5 years ago

IcedTea-Web is/will only be available since build 8u2012b04 ( already out for openj9 ) and pending for hotspot