All version of SQuirreL have some dependent jars. Older versions of
SQuirreL did not have a Manifest Class-Path in the main jar's manifest, so
using the "java -jar" command would not pick up some of the dependent jars.
I filed an enahncement or bug for this, and it has been fixed in newer
versions:
http://cvs.sourceforge.net/viewcvs.py/squirrel-sql/squirrel-sql/build/MANIFEST.MF?rev=1.1&view=markup
Before that, I was not using the "-jar" option in my Windows Shortcut to
SQuirreL, but instead the full "java -classpath
squirrel-sql.jar;lib/fw.jar;lib/nanoxml-2.1.jar;lib/log4j.jar
net.sourceforge.squirrel_sql.client.Main".
Regards,
Brian.
|---------+---------------------------------------------->
| | "Manon Baratt" |
| | <MB...@in...> |
| | Sent by: |
| | squ...@li...ur|
| | ceforge.net |
| | |
| | |
| | 11/02/2004 03:19 PM |
| | |
|---------+---------------------------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
| |
| To: <squ...@li...> |
| cc: |
| Subject: [Squirrel-sql-users] exception when running squirrel client in windows xp |
>---------------------------------------------------------------------------------------------------------------------------------------------|
Hi,
I am getting this error when I run this command:
C:\Program Files\SQuirreL SQL Client>java -jar squirrel-sql.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
net/sourceforge/squir
rel_sql/fw/xml/XMLBeanWriter
at net.sourceforge.squirrel_sql.client.Main.main(Main.java:51)
Any ideas?
Thanks for your help.
Manon Baratt
|