Difference between revisions of "Setup:Installation Guide/System Preparation/Windows/OpenJDK"
← Setup:Installation Guide/System Preparation/Windows/OpenJDK
[quality revision] | [quality revision] |
m (Text replacement - "[[en:{{PAGENAME}}]]" to "[[en:{{FULLPAGENAME}}]]") |
(Tag: Visual edit) |
Contents
Java is a prerequisite for the operation of Advanced Search, PDF export, VisualDiff (BlueSpice pro only) and the LaTeX renderer (BlueSpice pro only). The steps listed here are optional and only required if you plan to use one or more of these services in your BlueSpice installation. |
Introduction[edit | edit source]
For licensing reasons, we decided to use the alternative OpenJDK published under the GPL instead of the Java Runtime Environment. Of course, you are free to use the JRE of https://java.com/, but here we only document OpenJDK.
Download[edit | edit source]
Open the official download page (1) in your browser and select the version marked "Ready for use" (2).
Select the ZIP archive in the 64bit version for Microsoft Windows
Follow the further download instructions and download the ZIP archive to your hard disk.
Please note that the download on your Windows Server with Internet Explorer will only work if you have configured the Internet Explorer Advanced Security Settings in the Server Manager. Please refer to the technical documentation from Microsoft. |
In this guide, version 11.0.2 of OpenJDK is used and serves only as an example for the latest version, which you can download at the time of your installation. |
Unpacking the ZIP archive[edit | edit source]
Unzip the ZIP archive that you just downloaded into a suitable system path on your hard drive.
{{Template:Hint|text=This documentation is based on the [[Setup: Installation Guide/Advanced/Windows_Folder_Sructure | folder structure recommended by us ]. For this reason, OpenJDK is unpacked into the folder C:\bluespice\bin\jdk-11.0.2. If you have different folder requirements, you must adapt these paths accordingly.}}
Setting the environment variable[edit | edit source]
Press the key combination Windows+R.
In the following dialog, enter "SystemPropertiesAdvanced.exe" (1) and confirm with OK (2):
Click "environment variables":
Click "New...":
Set the name of the variable "JAVA_HOME" (1). As the value of the variable, specify the directory of your OpenJDK installation that you have just copied to C:\ bluespice\bin (2). Here you can use the "browse directory" button (3). Then click "OK" (4):
Close all newly opened windows one after the other by clicking on "OK".
Next step[edit | edit source]
If you have completed all steps successfully, you can delete the previously downloaded "openjdk-11.0.2_windows-x64_bin.zip" file from your hard disk and go to the next step "Apache Tomcat".
{{DISPLAYTITLE:OpenJDK on Windows}} __TOC__ {{Template:Optional|text=Java is a prerequisite for the operation of Advanced Search, PDF export, VisualDiff (BlueSpice pro only) and the LaTeX renderer (BlueSpice pro only). The steps listed here are optional and only required if you plan to use one or more of these services in your BlueSpice installation.}} ==Introduction== For licensing reasons, we decided to use the alternative OpenJDK published under the [https://en.wikipedia.org/wiki/GNU_General_Public_License GPL] instead of the Java Runtime Environment. Of course, you are free to use the JRE of https://java.com/, but here we only document OpenJDK. ==Download== Open the [http://jdk.java.net/ official download page] (1) in your browser and select the version marked "Ready for use" (2). [[File:Setup:OpenJDK_Download_01.png|center|400px|OpenJDK Download 01]] Select the ZIP archive in the 64bit version for Microsoft Windows [[File:Setup:OpenJDK_Download_02.png|center|400px|OpenJDK Download 02]] Follow the further download instructions and download the ZIP archive to your hard disk. {{Template:Hint|text=Please note that the download on your Windows Server with Internet Explorer will only work if you have configured the Internet Explorer Advanced Security Settings in the Server Manager. Please refer to the technical documentation from Microsoft.}} {{Template:Hint|text=In this guide, version 11.0.2 of OpenJDK is used and serves only as an example for the latest version, which you can download at the time of your installation.}} ==Unpacking the ZIP archive== Unzip the ZIP archive that you just downloaded into a suitable system path on your hard drive. <nowiki>{{Template:Hint|text=This documentation is based on the [[Setup: Installation Guide/Advanced/Windows_Folder_Sructure | folder structure recommended by us ]. For this reason, OpenJDK is unpacked into the folder C:\bluespice\bin\jdk-11.0.2. If you have different folder requirements, you must adapt these paths accordingly.}}</nowiki> ==Setting the environment variable== Press the key combination Windows+R. In the following dialog, enter "SystemPropertiesAdvanced.exe" (1) and confirm with OK (2): [[File:Setup:EnvironmentVariables_01.png|center|400px|environment variables 02]] Click "environment variables": [[File:Setup:EnvironmentVariables_02.png|center|400px|environment variables 03]] Click "New...": [[File:Setup:OpenJDK_EnvironmentVariables_01.png|center|400px|environment variables 04]] Set the name of the variable "JAVA_HOME" (1). As the value of the variable, specify the directory of your OpenJDK installation that you have just copied to C:\ bluespice\bin (2). Here you can use the "browse directory" button (3). Then click "OK" (4): [[File:Setup:OpenJDK_EnvironmentVariables_02.png|center|400px|environment variables 05]] Close all newly opened windows one after the other by clicking on "OK". ==Next step== If you have completed all steps successfully, you can delete the previously downloaded "openjdk-11.0.2_windows-x64_bin.zip" file from your hard disk and go to the next step "[[Setup: Installation Guide/System Preparation/Windows/Apache Tomcat|Apache Tomcat]]". [[en:{{FULLPAGENAME}}]] [[de:Setup:Installationsanleitung/Systemvorbereitung/Windows/OpenJDK]]
Line 1: | Line 1: | ||
+ | {{DISPLAYTITLE:OpenJDK on Windows}} | ||
__TOC__ | __TOC__ | ||