-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ncbaratta/setup2
initial modules
- Loading branch information
Showing
5 changed files
with
84 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
[id="getting_started_with_openjdk_for_windows"] | ||
= Getting Started with {comp} | ||
|
||
[id='getting-started-{context}'] | ||
= Getting started | ||
{prod} (Open Java Development Kit) is a free and open-source implementation of the Java Platform, Standard Edition (Java SE). | ||
|
||
{comp} provides a distribution of {prod} that follows the {rhel} distribution of {prod} as closely as possible on the {msw} platform. | ||
Windows builds use {rhel} RPM sources and apply all of the relevant RPM patches. | ||
|
||
{comp} includes {prod}, fonts, timezone data, and CA certificates from {rhel}. | ||
|
||
include::../modules/ref_installation_options.adoc[leveloffset=+1] | ||
|
||
include::../modules/proc_installing_openjdk_zip.adoc[leveloffset=+1] | ||
|
||
include::../modules/proc_installing_openjdk_msi.adoc[leveloffset=+1] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[id="installing_openjdk_msi_installer"] | ||
= Installing {prod} with the MSI Installer | ||
|
||
The {comp} MSI-based installer includes the following features: | ||
|
||
**jdk**:: | ||
Java Development Kit (JDK) files. | ||
**jdk-registry-standard**:: | ||
Registry keys: | ||
+ | ||
---- | ||
HKLM\Software\JavaSoft\JDK\<version>, entries: | ||
JavaHome: <INSTALLDIR> | ||
RuntimeLib: <INSTALLDIR>\bin\server\jvm.dll | ||
HKLM\Software\JavaSoft\JDK, entries: | ||
CurrentVersion: <version> | ||
---- | ||
**jdk_env_path**:: | ||
Appends `<INSTALLDIR>\bin` to the system `%PATH%` environment variable. | ||
**jdk_env_java_home**:: | ||
Sets `<INSTALLDIR>` to the system `%JAVA_HOME%` environment variable. | ||
**jdk_env_vendor_java_home**:: | ||
Sets `<INSTALLDIR>` to the system `%REDHAT_JAVA_HOME%` environment variable. | ||
**jdk_registry_jar**:: | ||
Association for JAR files. Launch JAR files with the OpenJDK context menu. | ||
**jmc**:: | ||
JDK Mission Control files, installed into `<INSTALLDIR>\missioncontrol`. | ||
**jmc_env**:: | ||
Appends `<INSTALLDIR>\missioncontrol` to the system `%PATH%` environment variable. | ||
|
||
.Procedure | ||
. link:{openjdk-download-url}[Download the MSI-based installer] of {comp} for your architecture. | ||
. Run the installer and follow the on-screen instructions to install {comp} and the desired extra components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[id="installing_openjdk_zip_bundle"] | ||
= Installing {prod} with the ZIP Bundle | ||
|
||
{comp} can be manually installed using the ZIP bundle. | ||
|
||
.Procedure | ||
. link:{openjdk-download-url}[Download the ZIP bundle] of {comp}. | ||
. Extract the contents of the ZIP bundle to a directory of your choice. | ||
+ | ||
[NOTE] | ||
==== | ||
Extracting the contents of the ZIP bundle to a directory path that *does not* contain spaces is recommended. | ||
==== | ||
. Add the `bin` directory contained in your {comp} installation path to the `%PATH%` environment variable: | ||
+ | ||
---- | ||
C:\> setx /m PATH "%PATH%;C:\Progra~1\RedHat\java-11-openjdk-11.0.1.13-1\bin" | ||
---- | ||
+ | ||
If the path contains spaces, use the shortened path name. | ||
|
||
. Restart Command Prompt to reload the environment variables. | ||
|
||
The `%JAVA_HOME%` environment variable must also be set to use some developer tools. | ||
Set the `%JAVA_HOME%` environment variable as follows: | ||
|
||
include::modules/proc_add-java-home-env-variable.adoc[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[id="openjdk_for_windows_installation_options"] | ||
= {comp} Installation Options | ||
|
||
{comp} can be installed manually using a ZIP bundle or through a graphical user interface using an MSI-based installer. | ||
|
||
Depending on your circumstance, use one of the following installation methods: | ||
|
||
* <<installing_openjdk_zip_bundle>> | ||
* <<installing_openjdk_msi_installer>> |