# Unable to run liquibase: UnsupportedClassVersionError

**URL:** <https://forum.liquibase.org/t/unable-to-run-liquibase-unsupportedclassversionerror/1063>\
**Category:** General Discussion\
**Created:** [January 12, 2011, 4:53pm UTC](https://forum.liquibase.org/t/unable-to-run-liquibase-unsupportedclassversionerror/1063 "2011-01-12T16:53:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kostgr](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@kostgr](https://forum.liquibase.org/u/kostgr)\
**Post date:** [January 12, 2011, 4:53pm UTC](https://forum.liquibase.org/t/unable-to-run-liquibase-unsupportedclassversionerror/1063/1 "2011-01-12T16:53:00Z")

</div>

Hi all,

I’m novice in Java development (actually I’m a .NET one). I wanted to take a look at the liquibase, but I cannot get it to work even for a -version argument.

I’ve downloaded the 2.0.0 version of the liquibase from the SourceForge.  
But if I try to use it, no matter what arguments I’m passing to liquibase.bat, I get an Error message:

java.lang.UnsupportedClassVersionError: liquibase/integration/commandline/Main (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Exception in thread "main" 

Any help would be appreciated!

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [January 12, 2011, 4:53pm UTC](https://forum.liquibase.org/t/unable-to-run-liquibase-unsupportedclassversionerror/1063/2 "2011-01-12T16:53:00Z")

</div>

What java version are you running?&nbsp; You need at least java 1.5 for liquibase 2.0.&nbsp; There is a version of liquibase 1.9 that works with java 1.4, but 2.0 requires 1.5+.

Nathan

---

<div class="post-metadata">

**Author:** ![kostgr](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@kostgr](https://forum.liquibase.org/u/kostgr)\
**Post date:** [January 12, 2011, 4:53pm UTC](https://forum.liquibase.org/t/unable-to-run-liquibase-unsupportedclassversionerror/1063/3 "2011-01-12T16:53:00Z")

</div>

Thanks a lot.

I’ve checked the Path and found reference to the old jre added by the oracle client installer.

Now liquibase works.
