trmentry
December 1st, 2007, 04:59 AM
I'm trying to get Crashplan (http://www.crashplan.com) running on Gutsy. I extracted the archive and can get the engine running.
When I try and run the dekstop gui I get the following:
~/bin/crashplan$ ./CrashPlanDesktop.sh
chris@kashyyyk:~/bin/crashplan$ Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unkno wn Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unkno wn Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unkno wn Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unkno wn Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at com.backup42.desktop.CrashPlanDesktop.<init>(CrashPlanDesktop.java:117)
at com.backup42.desktop.CrashPlanDesktop.main(CrashPl anDesktop.java:81)
So I figured out it was looking for the libswt3.2-gtk-java package. I installed it and still got that error above. I cheated and put a symlink in crashplan/lib point to it in /usr/lib/java
But now I get the following:
~/bin/crashplan$ Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3236 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at org.eclipse.swt.internal.Library.loadLibrary(Libra ry.java:123)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
at com.backup42.desktop.CrashPlanDesktop.<init>(CrashPlanDesktop.java:117)
at com.backup42.desktop.CrashPlanDesktop.main(CrashPl anDesktop.java:81)
The shared objects for swt appear to be in /usr/lib/jni. However if I make sym links to libswt-pi-gtk-3236.so in crashplan/lib or /usr/lib/java or where ever I still get the above error. I'm a bit stuck.
I've read about doing a
java -Djava.library.path=<blah> but not exaclty sure where to point that at. I don't want to break java.. and haven't been able to display java's env settings that it currently has in case I want to revert my changes.
Any pointers?
On a side note, Crashplan support says that the next version of the linux client will have an 'installer' that will fix these types of issues on Ubuntu. However I'm wanting to try it out now. :D
Any advise would be welcome.
thanks
When I try and run the dekstop gui I get the following:
~/bin/crashplan$ ./CrashPlanDesktop.sh
chris@kashyyyk:~/bin/crashplan$ Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unkno wn Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unkno wn Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unkno wn Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unkno wn Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at com.backup42.desktop.CrashPlanDesktop.<init>(CrashPlanDesktop.java:117)
at com.backup42.desktop.CrashPlanDesktop.main(CrashPl anDesktop.java:81)
So I figured out it was looking for the libswt3.2-gtk-java package. I installed it and still got that error above. I cheated and put a symlink in crashplan/lib point to it in /usr/lib/java
But now I get the following:
~/bin/crashplan$ Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3236 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at org.eclipse.swt.internal.Library.loadLibrary(Libra ry.java:123)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Conve rter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
at com.backup42.desktop.CrashPlanDesktop.<init>(CrashPlanDesktop.java:117)
at com.backup42.desktop.CrashPlanDesktop.main(CrashPl anDesktop.java:81)
The shared objects for swt appear to be in /usr/lib/jni. However if I make sym links to libswt-pi-gtk-3236.so in crashplan/lib or /usr/lib/java or where ever I still get the above error. I'm a bit stuck.
I've read about doing a
java -Djava.library.path=<blah> but not exaclty sure where to point that at. I don't want to break java.. and haven't been able to display java's env settings that it currently has in case I want to revert my changes.
Any pointers?
On a side note, Crashplan support says that the next version of the linux client will have an 'installer' that will fix these types of issues on Ubuntu. However I'm wanting to try it out now. :D
Any advise would be welcome.
thanks