How can I launch agent from browser when I have Amazon Corretto jdk 8?

SCH picture SCH · Apr 17, 2019 · Viewed 7k times · Source

I am setting up a jenkins slave agent and I need to select "Launch agent from browser" option to install it as a service. Amazon Coretto jdk1.8.0_202 doesn't have javaws.exe which is required to open the jnlp file. How can I install it?

Answer

James Guo picture James Guo · Apr 18, 2019

javaws is not part of OpenJDK and you'll need to get it from IcedTea-Web. However, setting up the agent from command line (an alternative installation method) will also do the work even without javaws.