Versions Compared

Key

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

This article describes how to update your Blancco Management Console environment from Oracle Java to OpenJDKto utilize OpenJDK instead of Oracle Java.

Info

Compatibility between OpenJDK and Blancco products is explained here: JAVA and OpenJDK version compatibilty with Blancco Management Console

If you have Blancco Management Console and Drive Eraser Configuration Tool installed on the same server, OpenJDK version 8 is required.

Uninstalling existing (Oracle) Java

  1. Stop Blancco Management Console service
  2. Uninstall any existing Java version(s) from the machine
  3. Restart the machine
  4. Check that Java was successfully uninstalled
    1. Open Command Prompt
    2. Type java -version to check the currently installed version of Java. If no Java is installed you should see below error message

Installing OpenJDK

  1. Download the latest version of OpenJDK from https://jdk.java.net/
  2. Select "Windows/x64" to download the zip file
  3. Extract the zip file to a location where you want to install the OpenJDK (for in this example C:\Program Files\Java\jdk-11.0.1). Note that on your installation the version number of OpenJDK (in the name of the directory) may vary and you need to use the details specific to your installation.

...

Creating "JAVA_HOME" System Variable

  1. Navigate to Control Panel > System and Security > System
  2. Select "Advanced System Settings" from the left panel
  3. Open Environment Variables by going to "Advanced"-tab and then click "Environment Variables"
  4. Under the "System Variables select "New"
  5. Name the new variable as "JAVA_HOME" (without quotation marks). Variable value should point to the directory where the OpenJDK zip file was extracted (in this example C:\Program Files\Java\jdk-11.0.1\)

Updating the "Path" system variable

  1. Under the "Environment Variables" > "System variables" look for existing variable named as "Path"
  2. Select it and click "Edit..."
    Image Added
  3. Add the location of the bin folder of the OpenJDK installation to the PATH variable.At the end of the variable value add new entry pointing to your OpenJDK bin directory (separated by semicolon from the previous entry)
    1. For example if OpenJDK was extracted to C:\Program Files\Java\jdk-11.0.1, the path entry would be C:\Program Files\Java\jdk-11.0.1\bin
    Image Added
  4. Click "OK" to save the changes.

Verifying the installation

After creating/updating the corresponding system variables, restart the machine and check that OpenJDK is recognized by the machine.

  1. Open command prompt and run "java -version"
    Image Added
  2. You should see it pointing to the OpenJDK and also see the version information of the OpenJDK
    1. In case of any error messages, double check that the system variables have been set correctly