jUploadr won't start under openSUSE 11.0

Hi,

When trying to start jUploadr (for uploading picture to Flickr) the script won’t start.**

./jUploadr
Starting JUploadr…**Java exec found in PATH. Verifying…
Suitable java version found [java = 1.6.0_06]
Configuring environment…
Exception in thread “main” java.lang.UnsatisfiedLinkError: /home/hgeis/jUploadr/jUploadr-1.1.2-linuxGTK-i386/lib/libswt-pi-gtk-3232.so: /home/hgeis/jUploadr/jUploadr-1.1.2-linuxGTK-i386/lib/libswt-pi-gtk-3232.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.dnd.Transfer.registerType(Transfer.java:135)
at org.eclipse.swt.dnd.TextTransfer.<clinit>(TextTransfer.java:36)
at org.scohen.juploadr.app.JUploadr.<init>(JUploadr.java:84)
at org.scohen.juploadr.app.JUploadr.main(JUploadr.java:709)

java -version
java version “1.6.0_06”
Java™ SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot™ 64-Bit Server VM (build 10.0-b22, mixed mode)

Any ideas what’s wrong?

Cheers.

H.

On Wed, 20 Aug 2008 06:36:03 GMT
hgeis <hgeis@no-mx.forums.opensuse.org> wrote:

> > Starting JUploadr…*Java exec found in PATH. Verifying…
> Suitable java version found [java = 1.6.0_06]
> Configuring environment…
> Exception in thread “main” java.lang.UnsatisfiedLinkError:
> /home/hgeis/jUploadr/jUploadr-1.1.2-linuxGTK-i386/lib/libswt-pi-gtk-3232.so:
> /home/hgeis/jUploadr/jUploadr-1.1.2-linuxGTK-i386/lib/libswt-pi-gtk-3232.so:
> wrong ELF class: ELFCLASS32 (Possible cause: architecture word width
> mismatch)
>
> JAVA -VERSION
> java version “1.6.0_06”
> Java™ SE Runtime Environment (build 1.6.0_06-b02)
> Java HotSpot™ 64-Bit Server VM (build 10.0-b22, mixed mode)

Wonder what happened to ‘write once, run anywhere’??

Looks you’re running 64 bit JRE against their 32-bit jar files.

jUploadr supports 64 bit systems, you just need to get the amd64 version.

You’ll want to return to their site and download the amd64 version, available
here:

http://tinyurl.com/62qerb
http://sourceforge.net/project/showfiles.php?group_id=127771&package_id=139883&release_id=483032

Loni


L R Nix
lornix@lornix.com

Great. Will try that as soon as I get home tonight. Thanks. H.

Hi,

I just installed the 64-bit version of jUploadr. Worked right away. Am already uploading pictures from Corfu holiday.

Thank you.

H.