View Single Post
Old 09-25-2010, 04:53 PM   #8
niun
Junior Member
niun began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2010
Device: Sony Clié PEG-NR70V/U
This thread is old, but maybe, the user akfedux or some java/linux crack is reading this: I think, I have problems with this step:
Quote:
Originally Posted by akfedux View Post
Replace old gtk libs with newer and it will be workin.
libswt-atk-gtk-3235.so
libswt-gtk-3235.so
libswt-pi-gtk-3235.so
The Build process with ant compile and ant jar is working, but when I try to run sunrise-desktop.jar I get the following Error (the "no swt-win32-3206" part leads me to my assumption, that I should follow the quoted instruction from akfedux, but I do not know where to replace these gtk libs).

Code:
:/tmp/sr/java$ java -jar sunrise-desktop.jar
java.lang.UnsatisfiedLinkError: no swt-win32-3206 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
        at java.lang.Runtime.loadLibrary0(Runtime.java:840)
        at java.lang.System.loadLibrary(System.java:1047)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.win32.OS.<clinit>(Unknown Source)
        at org.eclipse.swt.widgets.Widget.<clinit>(Unknown Source)
        at com.distantchord.swt.Window.<init>(Unknown Source)
        at com.distantchord.sunrise.ui.MainWindow.<init>(Unknown Source)
        at com.distantchord.sunrise.apps.Desktop.run(Unknown Source)
        at com.distantchord.sunrise.apps.Desktop.main(Unknown Source)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.internal.win32.OS
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at com.distantchord.swt.SWTUtil.showExceptionInfo(Unknown Source)
        at com.distantchord.sunrise.apps.Desktop.run(Unknown Source)
        at com.distantchord.sunrise.apps.Desktop.main(Unknown Source)
niun is offline