: 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.
item | value |
---|---|
OS | Windows 10 Pro |
Build | 1809 |
JDK Version | OpenJDK 1.12 |
Follow the steps below.
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.
(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"
④ 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 ②).
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
④ Execute itw-installer.msi and install according to the wizard (the setting value has not been changed from the initial setting)
⑤ After installation, add C: \ Program Files \ IcedTeaWeb \ WebStart \ bin
to the user environment variable" Path ".
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.
Recommended Posts