Use Java Web Start in an OpenJDK environment on Windows

: information_source: This article is a reprint of the content of Using Java Web Start in an OpenJDK environment on Windows-Sheep Grape written on another site. I am.


As the title suggests, I wanted to use Java Web Start in an OpenJDK environment (extrinsic motive), so that's the time.

It seems that IcedTea-Web can be used to use Java Web Start without relying on Oracle, but although there were many articles used in the Linux environment, I did not see many articles used in the Windows environment, so I summarized it.

Execution environment

item value
OS Windows 10 Pro
Build 1809
JDK Version OpenJDK 1.12

Installation procedure

Follow the steps below.

Prepare OpenJDK 12

I think that the PC of the person who wants to use Java Web Start with OpenJDK in the first place has OpenJDK, but just in case. I chose 12 simply because it was the latest version at the time of writing.

① Download OpenJDK 12 from OpenJDK download page and unzip the zip file. スクリーンショット 2019-05-18 18.57.01.png

(2) Place the unzipped folder (jdk-12.0.1) in an appropriate location (this time, it was placed directly under C: ). ③ Open "Control Panel"> "System"> "Detailed System Settings" スクリーンショット 2019-05-18 19.02.32.png

④ Edit the user environment variable "Path" from "Environment Variables" on the "Detailed Settings" tab, and add C: \ jdk-12.0.1 \ bin (specify the path placed in ②). スクリーンショット 2019-05-18 18.57.58.png

IcedTea-Prepare the Web

According to Wikipedia teacher, IcedTea started Red Hat in June 2007. It seems that it is a build and system integration project for OpenJDK. Use the IcedTea project's IcedTea-Web to take advantage of Java Web Start features.

① Go to IcedTea's Download Page

② Proceed to icedtea-web-binaries / 1.8 / windows / (If other versions are good, 1.8 Please read as appropriate for the version)

③ Download itw-installer.msi スクリーンショット 2019-05-18 19.17.00.png

④ Execute itw-installer.msi and install according to the wizard (the setting value has not been changed from the initial setting) スクリーンショット 2019-05-18 19.19.30.png

⑤ After installation, add C: \ Program Files \ IcedTeaWeb \ WebStart \ bin to the user environment variable" Path ". スクリーンショット 2019-05-18 19.23.25.png


To execute it, pass the path of the jnlp file as an argument of javaws.exe with PowerShell etc. as shown below.

PS> javaws.exe TEST.jnlp

It may be convenient to associate C: \ Program Files \ IcedTeaWeb \ WebStart \ bin \ javaws.exe with the jnlp file because it can be executed by simply double-clicking the jnlp file. スクリーンショット 2019-05-18 19.25.57.png

Recommended Posts

Use Java Web Start in an OpenJDK environment on Windows
Use docker in proxy environment on ubuntu 20.04.1
Building Java Web Applications on Windows Server 2016
Use OpenCV in Java
Use PreparedStatement in Java
I built an Ubuntu environment on Windows 10 using WSL2.
Beginners use ubuntu in windows to prepare rails environment
Notes on how to use regular expressions in Java
Install OpenJDK7 (JAVA) on ubuntu 14.04
Difficulties in building a Ruby on Rails environment (Windows 10) (SQLite3)
Web application development environment construction in Java (for inexperienced people)
Manually build OpenJDK on Windows
Change java encoding in windows
Things you often use when doing web development in Java
What happened in "Java 8 to Java 11" and how to build an environment
JavaFX environment construction in Java 13
Use Redis Stream in Java
How to switch Java in the OpenJDK era on Mac
Zip compression with Java in Windows environment without garbled characters
[Java development environment construction] Install OpenJDK 11 (Java 11) on macOS with Homebrew.
How to automatically operate a screen created in Java on Windows
Build an Core Web API environment on Docker (VSCode) Part 1
Build an ASP.NET Core Web API environment on Docker (VSCode) Part 2
I sent an email in Java
Java Spring environment in vs Code
Install Java with zip on Windows
[Java] How to update Java on Windows
Let's use Twilio in Java! (Introduction)
[Java] Do not use "+" in append!
Use composite keys in Java Map.
Try an If expression in Java
Notes on signal control in Java
Java environment variable settings (Windows, AdoptOpenJDK11)
I made an annotation in Java.
How to use classes in Java?
Use completion in Eclipse on mac
Address already in use workaround (Windows)
Install Java 9 on windows 10 and CentOS 7
Develop gRPC on Windows + Java 7 + Maven 2
Do you use Stream in Java?
Install Java development environment on Mac
Run an external process in Java
Resolved the error that occurred when trying to use Spark in an environment where Java 8 and Java 11 coexist.
Use Timecop in Rails web app to travel time on your browser
What wasn't fair use in the diversion of Java APIs on Android
Volume of trying to create a Java Web application on Windows Server 2016
Java container performance degradation in Menicoa environment
Use OpenCV_Contrib (ArUco) in Java! (Part 2-Programming)
Call the Windows Notification API in Java
[Docker] Building an environment to use Hugo
Using JupyterLab + Java with WSL on Windows 10
Map without using an array in java
Install OpenJDK (Java) on the latest Ubuntu
[Java] Use cryptography in the standard library
Play Framework 2.6 (Java) environment construction in Eclipse
Use "Rhino" which runs JavaScript in Java
Build a Java development environment on Mac
Build Java 8 development environment on AWS Cloud9
Use selenium (Firefox) in Ruby in WSL environment
Deploy a Java web app on Heroku
Memory measurement of Java application on Windows