|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Errors when running LiquiBase on DebianHi! 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! ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Liquibase-user mailing list Liquibase-user@... https://lists.sourceforge.net/lists/listinfo/liquibase-user |
|
|
Re: Errors when running LiquiBase on DebianIt 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. From: Romberg Christo
[mailto:Christo.Romberg@...] 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 |
|
|
Re: Errors when running LiquiBase on Debiandid you compile Liquibase form Source with GCJ ? Looks like ....
What does "java -version" print out? --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 08.06.2009 um 13:12 schrieb Romberg Christo: > 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! > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get_______________________________________________ > Liquibase-user mailing list > Liquibase-user@... > https://lists.sourceforge.net/lists/listinfo/liquibase-user ------------------------------------------------------------------------------ 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 |
|
|
Re: Errors when running LiquiBase on DebianWhatever you use from the Gnu Compiler for Java project. Trash it and
use openjdk that is pre-packaged for Debian. Use synaptic or apt-get to do the remove/install issues.... If you have problems, just query the list .... i have some debian boxes at hand running with java. In fact all our dev infrastructure toolings are running on Debian. --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 08.06.2009 um 13:12 schrieb Romberg Christo: > 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! > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get_______________________________________________ > Liquibase-user mailing list > Liquibase-user@... > https://lists.sourceforge.net/lists/listinfo/liquibase-user ------------------------------------------------------------------------------ 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 |
|
|
Re: Errors when running LiquiBase on DebianThanks for your responsens! I’ve installed Sun’s Java JRE with “sudo aptitude install sun-java6-jre” and
I’ve also set it to be the default Java with “update-alternatives --config
java”. When I run “java liquibase.jar“
I now get this: “Exception in thread
"main" java.lang.NoClassDefFoundError: liquibase/jar Caused by:
java.lang.ClassNotFoundException: liquibase.jar at
java.net.URLClassLoader$1.run(URLClassLoader.java:200) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(URLClassLoader.java:188) at
java.lang.ClassLoader.loadClass(ClassLoader.java:307) at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at
java.lang.ClassLoader.loadClass(ClassLoader.java:252) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class:
liquibase.jar. Program will exit.” Java –version prints this: “java version
"1.6.0_12" Java(TM) SE Runtime Environment
(build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build
11.2-b01, mixed mode, sharing)” Any ideas? Thank you for the support! -----Ursprungligt meddelande----- Whatever you use from the Gnu Compiler for Java project. Trash it and use openjdk that is pre-packaged for Debian. Use synaptic or apt-get to do the remove/install issues.... If you have problems, just query the list .... i have some debian boxes at hand running with java. In fact all our dev infrastructure toolings are running on Debian. --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 08.06.2009 um 13:12 schrieb -----Ursprungligt meddelande----- did you compile Liquibase form Source with GCJ ? Looks like .... What does "java -version" print out? --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 08.06.2009 um 13:12 schrieb Romberg Christo: Från: Voxland,
Nathan [mailto:nvoxland@...] 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. From: Romberg Christo
[mailto:Christo.Romberg@...] 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 |
|
|
Re: Errors when running LiquiBase on DebianDo liquibase -jar liquibase.jar instead. The best approach is to use the startup script (liquibase) which is provided with the package. Paul From: Romberg Christo <Christo.Romberg@...> To: "liquibase-user@..." <liquibase-user@...> Sent: Wednesday, 10 June, 2009 6:15:33 Subject: Re: [Liquibase-user] Errors when running LiquiBase on Debian Thanks for your responsens!
I’ve installed Sun’s Java JRE with “sudo aptitude install sun-java6-jre” and I’ve also set it to be the default Java with “update-alternatives --config java”.
When I run “java liquibase.jar“ I now get this: “Exception in thread "main" java.lang.NoClassDefFoundError: liquibase/jar Caused by: java.lang.ClassNotFoundException: liquibase.jar at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: liquibase.jar. Program will exit.”
Java –version prints this: “java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)”
Any ideas?
Thank you for the support!
-----Ursprungligt meddelande-----
Whatever you use from the Gnu Compiler for Java project. Trash it and use openjdk that is pre-packaged for Debian.
Use synaptic or apt-get to do the remove/install issues....
If you have problems, just query the list .... i have some debian boxes at hand running with java. In fact all our dev infrastructure toolings are running on Debian.
--- regards Marc Logemann
Am 08.06.2009 um 13:12 schrieb -----Ursprungligt meddelande-----
did you compile Liquibase form Source with GCJ ? Looks like ....
What does "java -version" print out?
--- regards Marc Logemann
Am 08.06.2009 um 13:12 schrieb Romberg Christo:
Från: Voxland,
Nathan [mailto:nvoxland@...]
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.
From: Romberg Christo
[mailto:Christo.Romberg@...]
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 |
|
|
Re: Errors when running LiquiBase on DebianHi! When I run “liquibase
-jar liquibase.jar” I get this: “-bash: liquibase: command not
found” I’d like to use the startup script that you
mentioned..is the startup script the file named liquibase (with no file-name extension)
located the root of liquibase?
Från:
Paul Keeble [mailto:csuml@...] Do liquibase -jar liquibase.jar instead. The best approach is to use
the startup script (liquibase) which is provided with the package. Paul From: Romberg
Christo <Christo.Romberg@...> Thanks for your responsens! I’ve installed Sun’s Java JRE with “sudo aptitude install sun-java6-jre” and
I’ve also set it to be the default Java with “update-alternatives --config
java”. When I run “java liquibase.jar“
I now get this: “Exception in thread
"main" java.lang.NoClassDefFoundError: liquibase/jar Caused by:
java.lang.ClassNotFoundException: liquibase.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class:
liquibase.jar. Program will exit.” Java –version prints this: “java version
"1.6.0_12" Java(TM) SE Runtime Environment
(build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build
11.2-b01, mixed mode, sharing)” Any ideas? Thank you for the support! -----Ursprungligt meddelande----- Whatever you use from the Gnu Compiler for Java project. Trash it
and use openjdk that is pre-packaged for Debian. Use synaptic or apt-get to do the remove/install issues.... If you have problems, just query the list .... i have some debian
boxes at hand running with java. In fact all our dev
infrastructure toolings are running on Debian. --- regards Marc Logemann Am 08.06.2009 um 13:12 schrieb -----Ursprungligt meddelande----- did you compile Liquibase form Source with GCJ ? Looks like .... What does "java -version" print out? --- regards Marc Logemann Am 08.06.2009 um 13:12 schrieb Romberg Christo: Från:
Voxland, Nathan [mailto:nvoxland@...] 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. From: Romberg Christo
[mailto:Christo.Romberg@...] 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 |
|
|
Re: Errors when running LiquiBase on DebianRomberg,
I think Paul meant java -jar liquibase.jar. Do not forget about correct properties such as url, username, password etc. Take a look at the http://www.liquibase.org/manual/command_line to inquire more info about launching liquibase under command line. Regards, Oleg Wednesday, June 10, 2009, 11:15:40 AM, you wrote: > Hi! > > When I run “liquibase -jar liquibase.jar” I get this: > “-bash: liquibase: command not found” > > I’d like to use the startup script that you mentioned..is the startup script the file named liquibase (with no file-name extension) located the root of liquibase? > Thank you! > Från: Paul Keeble [mailto:csuml@...] > Skickat: den 10 juni 2009 10:29 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > Do liquibase -jar liquibase.jar instead. The best approach is to use the startup script (liquibase) which is provided with the package. > > Paul > > From: Romberg Christo <Christo.Romberg@...> > To: "liquibase-user@..." <liquibase-user@...> > Sent: Wednesday, 10 June, 2009 6:15:33 > Subject: Re: [Liquibase-user] Errors when running LiquiBase on Debian > Thanks for your responsens! > > I’ve installed Sun’s Java JRE with “sudo aptitude install sun-java6-jre” and I’ve also set it to be the default Java with > “update-alternatives --config java”. > > When I run “java liquibase.jar“ I now get this: > “Exception in thread "main" java.lang.NoClassDefFoundError: liquibase/jar > Caused by: java.lang.ClassNotFoundException: liquibase.jar > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > Could not find the main class: liquibase.jar. Program will exit.” > > Java –version prints this: > “java version "1.6.0_12" > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)” > > Any ideas? > > Thank you for the support! > > > -----Ursprungligt meddelande----- > Från: Marc Logemann [mailto:li@...] > Skickat: den 9 juni 2009 00:33 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > Whatever you use from the Gnu Compiler for Java project. Trash it and > use openjdk that is pre-packaged for Debian. > > Use synaptic or apt-get to do the remove/install issues.... > > If you have problems, just query the list .... i have some debian > boxes at hand running with java. In fact all our dev infrastructure > toolings are running on Debian. > > > --- > regards > Marc Logemann > http://www.logemann.org > http://www.logentis.de > > > > > Am 08.06.2009 um 13:12 schrieb > -----Ursprungligt meddelande----- > Från: Marc Logemann [mailto:li@...] > Skickat: den 9 juni 2009 00:28 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > did you compile Liquibase form Source with GCJ ? Looks like .... > > What does "java -version" print out? > > > --- > regards > Marc Logemann > http://www.logemann.org > http://www.logentis.de > > > > > Am 08.06.2009 um 13:12 schrieb Romberg Christo: > > > > Från: Voxland, Nathan [mailto:nvoxland@...] > Skickat: den 9 juni 2009 00:19 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > 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! > -- Best regards, Oleg mailto:taranenko.forums@... ------------------------------------------------------------------------------ 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 |
|
|
Re: Errors when running LiquiBase on DebianThank you Oleg for pointing that out.
Regards, Christo -----Ursprungligt meddelande----- Från: Oleg Taranenko [mailto:taranenko.forums@...] Skickat: den 10 juni 2009 14:39 Till: Romberg Christo Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian Romberg, I think Paul meant java -jar liquibase.jar. Do not forget about correct properties such as url, username, password etc. Take a look at the http://www.liquibase.org/manual/command_line to inquire more info about launching liquibase under command line. Regards, Oleg Wednesday, June 10, 2009, 11:15:40 AM, you wrote: > Hi! > > When I run "liquibase -jar liquibase.jar" I get this: > "-bash: liquibase: command not found" > > I'd like to use the startup script that you mentioned..is the startup script the file named liquibase (with no file-name extension) located the root of liquibase? > Thank you! > Från: Paul Keeble [mailto:csuml@...] > Skickat: den 10 juni 2009 10:29 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > Do liquibase -jar liquibase.jar instead. The best approach is to use the startup script (liquibase) which is provided with the package. > > Paul > > From: Romberg Christo <Christo.Romberg@...> > To: "liquibase-user@..." <liquibase-user@...> > Sent: Wednesday, 10 June, 2009 6:15:33 > Subject: Re: [Liquibase-user] Errors when running LiquiBase on Debian > Thanks for your responsens! > > I've installed Sun's Java JRE with "sudo aptitude install sun-java6-jre" and I've also set it to be the default Java with > "update-alternatives --config java". > > When I run "java liquibase.jar" I now get this: > "Exception in thread "main" java.lang.NoClassDefFoundError: liquibase/jar > Caused by: java.lang.ClassNotFoundException: liquibase.jar > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > Could not find the main class: liquibase.jar. Program will exit." > > Java -version prints this: > "java version "1.6.0_12" > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)" > > Any ideas? > > Thank you for the support! > > > -----Ursprungligt meddelande----- > Från: Marc Logemann [mailto:li@...] > Skickat: den 9 juni 2009 00:33 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > Whatever you use from the Gnu Compiler for Java project. Trash it and > use openjdk that is pre-packaged for Debian. > > Use synaptic or apt-get to do the remove/install issues.... > > If you have problems, just query the list .... i have some debian > boxes at hand running with java. In fact all our dev infrastructure > toolings are running on Debian. > > > --- > regards > Marc Logemann > http://www.logemann.org > http://www.logentis.de > > > > > Am 08.06.2009 um 13:12 schrieb > -----Ursprungligt meddelande----- > Från: Marc Logemann [mailto:li@...] > Skickat: den 9 juni 2009 00:28 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > did you compile Liquibase form Source with GCJ ? Looks like .... > > What does "java -version" print out? > > > --- > regards > Marc Logemann > http://www.logemann.org > http://www.logentis.de > > > > > Am 08.06.2009 um 13:12 schrieb Romberg Christo: > > > > Från: Voxland, Nathan [mailto:nvoxland@...] > Skickat: den 9 juni 2009 00:19 > Till: liquibase-user@... > Ämne: Re: [Liquibase-user] Errors when running LiquiBase on Debian > > 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! > -- Best regards, Oleg mailto:taranenko.forums@... ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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 |
|
|
Re: Errors when running LiquiBase on DebianDoh! Sorry about that Oleg has pointed out the correct one. From: Romberg Christo <Christo.Romberg@...> To: "liquibase-user@..." <liquibase-user@...> Sent: Wednesday, 10 June, 2009 11:15:40 Subject: Re: [Liquibase-user] Errors when running LiquiBase on Debian Hi!
When I run “liquibase -jar liquibase.jar” I get this: “-bash: liquibase: command not found”
I’d like to use the startup script that you mentioned..is the startup script the file named liquibase (with no file-name extension) located the root of liquibase?
Från:
Paul Keeble [mailto:csuml@...]
Do liquibase -jar liquibase.jar instead. The best approach is to use the startup script (liquibase) which is provided with the package.
Paul
From: Romberg
Christo <Christo.Romberg@...> Thanks for your responsens!
I’ve installed Sun’s Java JRE with “sudo aptitude install sun-java6-jre” and I’ve also set it to be the default Java with “update-alternatives --config java”.
When I run “java liquibase.jar“ I now get this: “Exception in thread "main" java.lang.NoClassDefFoundError: liquibase/jar Caused by: java.lang.ClassNotFoundException: liquibase.jar at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: liquibase.jar. Program will exit.”
Java –version prints this: “java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)”
Any ideas?
Thank you for the support!
-----Ursprungligt meddelande-----
Whatever you use from the Gnu Compiler for Java project. Trash it and use openjdk that is pre-packaged for Debian.
Use synaptic or apt-get to do the remove/install issues....
If you have problems, just query the list .... i have some debian boxes at hand running with java. In fact all our dev infrastructure toolings are running on Debian.
--- regards Marc Logemann
Am 08.06.2009 um 13:12 schrieb -----Ursprungligt meddelande-----
did you compile Liquibase form Source with GCJ ? Looks like ....
What does "java -version" print out?
--- regards Marc Logemann
Am 08.06.2009 um 13:12 schrieb Romberg Christo:
Från:
Voxland, Nathan [mailto:nvoxland@...]
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.
From: Romberg Christo
[mailto:Christo.Romberg@...]
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 |
| Free embeddable forum powered by Nabble | Forum Help |