« Return to Thread: Errors when running LiquiBase on Debian

Re: Errors when running LiquiBase on Debian

by Voxland, Nathan :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

It looks like you are running gcj rather than Sun’s java.  I haven’t worked much with gcj, and I would guess that it does not work with liquibase. 

 

I don’t have the instructions for replacing gcj with another JVM off hand, but I would guess you can find it easily on the web. 

Nathan

 

From: Romberg Christo [mailto:Christo.Romberg@...]
Sent: Monday, June 08, 2009 6:12 AM
To: liquibase-user@...
Subject: [Liquibase-user] Errors when running LiquiBase on Debian

 

Hi!

 

I’m having some trouble running LiquiBase under Debian. When I run “java ./liquibase-1.9.3” I get the following error:

 

Exception in thread "main" java.lang.NoClassDefFoundError: liquibase-1.9.3.jar

   at gnu.java.lang.MainThread.run(libgcj.so.90)

Caused by: java.lang.ClassNotFoundException: liquibase-1.9.3.jar not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

   at java.net.URLClassLoader.findClass(libgcj.so.90)

   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)

   at java.lang.ClassLoader.loadClass(libgcj.so.90)

   at java.lang.ClassLoader.loadClass(libgcj.so.90)

   at gnu.java.lang.MainThread.run(libgcj.so.90)

 

And when I do “java liquibase-1.9.3.jar” I get this:

 

./liquibase-1.9.3.jar: line 1: PK: command not found

./liquibase-1.9.3.jar: line 2: ­: command not found

./liquibase-1.9.3.jar: line 3: syntax "#ÏÖJàÛµæÊ¹õ]öP±oQcMl×tokenRMÛ0½tl¡Rbw7

'£û©¯M§Õo±­xõëuk¥7öÓØvàIù³·æá$¥¡LßKl:       ·META-INF/MANIFEST.MF            .=lZØk壬=rõßÑvãUËz1ÌÍ<y+QÁyÖ2:ÃØ'î1Aî©N£æÞ±/¨Äû<ÛJ

 

Any ideas?

 

LiquiBase v1.9.3

Debian 2.6.26-1-686

 

PS: Thanks for a great piece of software!


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

 « Return to Thread: Errors when running LiquiBase on Debian