Applies to:
- Liquibase Enterprise (Datical DB)
Conditions:
- Installing Liquibase Enterprise
- Only OpenJDK is installed, or Java is not installed
Issue Summary:
With only OpenJDK installed on the computer or VM, the Liquibase Enterprise installation wizard is failing with an error even after verifying Java is installed.
Error Message:
org.apache.bsf.BSFException: unable to load language: groovy
or
This application requires a Java Runtime Environment 1.7.0
Root Cause:
Liquibase Enterprise versions support specific versions of Java, which are documented here. Oftentimes, other software installed on the same computer or VM may need different versions of Java than is required by your version of Liquibase Enterprise. This can cause conflict when installing Liquibase Enterprise, so it's important to follow the steps below to ensure that the Liquibase installer is using the correct version of Java.
Resolution:
Step 1: Verify that OpenJDK is installed and in your path
Open a command prompt and run:
java -version
It should return something like:
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
Eclipse OpenJ9 VM (build openj9-0.18.1, JRE 1.8.0 Windows Server 2012 R2 amd64-64-Bit Compressed References 20200122_564
(JIT enabled, AOT enabled)
OpenJ9 - 51a5857d2
OMR - 7a1b0239a
JCL - 8cf8a30581 based on jdk8u242-b08)
Step 2: Rerun Liquibase installation
Run the following command from the CLI in the same directory as the DaticalDB executable
-
java -jar path_to_DaticalDB_exe_file
Example:
java -jar DaticalDB-win-x86_64-6.15.6361.exe
If the installation does not complete successfully, proceed to the next section.
Step 3: Reinstall or Repair Java
- Make sure that the computer administrator installed OpenJDK with the registry keys update selected, which is NOT a default.
- Reinstall or repair Java with this option checked.
Related Article(s):
Liquibase Enterprise: Hardware, Software, and Database Requirements
Comments
0 comments
Article is closed for comments.