Getting error updating database in Vibe 4.0.5

  • 7023363
  • 18-Sep-2018
  • 18-Sep-2018

Environment

Vibe 4.0.5
SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)
SUSE Linux Enterprise Server 15

Situation

When running the ./manage-database.sh database_type updateDatabase command to update the database getting the following error:

Unexpected error running Liquibase: org/kablink/liquibase/change/custom/Mirgrate/MirroredFoldersChange has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0


Resolution

Vibe 4.0.5 installs JDK 10 automatically. if you are gettting this error, it is looking at the old path for JDK. Before you run the updateDatabase command, enter in the correct path variable:

PATH=/opt/novell/teaming/jre/bin:$PATH