Install Java. We recommend the OpenJDK Adoptium Temurin 8 or 11.
We strongly recommend that you use the latest version of Java.
For versions before Java 1.8.0_151, you must install the JCE Unlimited Strength Jurisdiction Policy files.
Step 1 Download and Install Java
On Windows
- 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. - Click the Latest release button to download an installation package.
- Complete the installation process as directed by the package, accepting all defaults.
On Linux
- Download Java from the Adoptium download page:
- Follow the installation instructions on the download page
?? Alternatively, download the binaries for Adoptium Temurin 8 or 11 from GitHub as follows
cd /tmp wget https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.gz https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
Remove the temporary files from /tmp
:
rm adoptopenjdk-keyring.gpg* public
Step 2 Configure Security
Update the security settings to allow strong encryption and decryption of files.
1. Go to the JRE directory /lib/security/java.security
file.
If you have installed a JDK rather than a JRE, you will find this directory under JAVA_BASE_INSTALLATION/jre
, for example: C:\Program Files\Eclipse Adoptium\jdk-8.0.312.7-hotspot\jre
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