Liquibase Unsupported major.minor version 51.0

不想你离开。 提交于 2019-12-11 15:02:38

问题


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:


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



来源:https://stackoverflow.com/questions/51027870/liquibase-unsupported-major-minor-version-51-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!