Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Install Java. We recommend the OpenJDK Adoptium Temurin 8 or 11.

...

  1. From the Adoptium home page https://adoptium.net, select Termurin 8 or 11.
    This download is equivalent to the Adopt Open JDK HotSpot build of Java for 64 bit architectures.
  2. Click the Latest release button to download an installation package.
  3. Complete the installation process as directed by the package, accepting all defaults.

...

Code Block
cd /tmp
wget https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.gz
  • Extract the installation package. For example:
Code Block
sudo tar xfvz /tmp/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.gz --directory /opt/jdk
rm /tmp/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.gz

The following steps are not mandatory, but are recommended so that all users on your server use the same version of Java. Run the following command:

Code Block
sudo update-alternatives --display java


like

Code Block

...

update-alternatives: error: no alternatives for java



like


Code Block
sudo update-alternatives --config java

If you get no results of

If you get more than 1 result, you will need to check with the users and the system administrator whether they are happy to make the installed version of Java the standard for everyone. Other users can still use their preferred version of Java if they wish, using environment variables PATH, JAVA_HOME and simply by referring to the full path of the alternative Java installation.

Code Block
sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk8u312-b07/bin/java 1

This command creates symbolic links so that Java can be run from a common location. If you type

Code Block
which java

you will see

Code Block
/usr/bin/java

rem

Step 2 Configure Security

...

2. Set the crypto.policy to unlimited for the JRE used by PhixFlow, by deleting the #" to uncomment the line:
    - from: # crypto.policy=unlimited
    - to:    crypto.policy=unlimited

Step 3 Optionally Set the Environment Variable

Some installation processes set the environment variable JAVA_HOME for you automatically. If not, you do not need to set it. However, if you want to set it, specify the base installation directory of Java, for example:

  • On  Windows:  C:\Program Files\Eclipse Adoptium\jdk-8.0.312.7-hotspot
  • On Linux:  /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64