You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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

Compatibility between OpenJDK and Blancco products is explained here: OpenJDK version compatibilty with Blancco Products

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 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 example C:\Program Files\Java)

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..."
  3. Add the location of the bin folder of the OpenJDK installation to the PATH variable.
    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
  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"
  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
  • No labels