Liquibase Unsupported major.minor version 51.0

2019-08-21 08:48发布

I am attempting to set up Liquibase 3.6.1 on a solaris VM.
My JRE is 1.6.0_151-b10.
My Liquibase.properties file is configured as follows:

driver:oracle.jdbc.OracleDriver  
classpath:/export/home/oracle/Liquibase/lib/OJDBC-Full/ojdbc6.jar  
url:jdbc:oracle:thin:@db:port/instance  
username:uname  
password:pword  

When calling "./Liquibase --version" (for example), I get an error.

Exception in thread "main" java.lang.UnsupportedClassVersionError: Liquibase/integration/commandline/Main : Unsupported major.minor version 51.0

I have looked around for another post relating to a similar issue with java version/Liquibase issue. The closest I have found was relating to the "api" not being compatible with the version of java installed (version or release or update).

I apologize for the noob quality post, and I hope you folk can help.

1条回答
Rolldiameter
2楼-- · 2019-08-21 08:56

Liquibase 3.6.1 requires minimally java 1.7. You can find more about java versions here

查看更多
登录 后发表回答