Ubuntu Karmik and Eclipse Galileo

The great Ubuntu Karmik is just around the corner. If you happen to use Eclipse from the official eclipse webpage and you see that some eclipse buttons do not work, then apply the following hack. Make yourself a one line script to execute eclipse like follows:

#!/bin/bash

export GDK_NATIVE_WINDOWS=1
./eclipse

and it will work again. For tptp (the profiling tools for eclipse) you’ll need libstdc++5 package from debian.

HowTo Ubuntu 8.10 64bit and Areca 6.2 (6.1) java Backup Utility

1) Go to Synaptic and install

libswt-cairo-gtk-3.4-jni
libswt-gnome-gtk-3.4-jni
libswt-gtk-3.4-java
libswt-gtk-3.4-jni
libswt-mozilla-gtk-3.4-jni

2) cd /usr/lib/jni

cp the files:

libswt-atk-gtk-3448.so
libswt-cairo-gtk-3448.so
libswt-gtk-3448.so
libswt-pi-gtk-3448.so
libswt-awt-gtk-3448.so
libswt-gnome-gtk-3448.so
libswt-mozilla-gtk-3448.so

to the areca/lib folder with names in order of appearance:

libswt-atk-gtk-3232.so
libswt-cairo-gtk-3232.so
libswt-gtk-3232.so
libswt-pi-gtk-3232.so
libswt-awt-gtk-3232.so
libswt-gnome-gtk-3232.so
libswt-mozilla-gtk-3232.so

overwriting the original ones ;) .

3) the files:

org.eclipse.swt.gtk.linux.x86_3.2.0.v3232m.jar
org.eclipse.jface_3.2.0.I20060605-1400.jar

come from an eclipse installation actually, so if you don’t have eclipse,
download it and:

cd eclipse/plugins

and cp the org.eclipse.swt.gtk.linux.x86_64_3.4.1.v3449c.jar
into areca/lib org.eclipse.swt.gtk.linux.x86_3.2.0.v3232m.jar

and cp org.eclipse.jface_3.4.1.M20080827-2000.jar to areca/lib
org.eclipse.jface_3.2.0.I20060605-1400.jar

overwriting the original ones.

Now, the file libarecafs.so surprise, surprise is a 32 bit one, so I compiled the 64bit one.
With the 32bit one, you’ll get a couple of warnings:

09-01-22 20:44 – WARNING – com.myJava.file.metadata.posix.jni.JNIMetaDataAccessor cannot be used on this system. Got the following error : “java.lang.UnsatisfiedLinkError : /home/jordilin/areca/lib/libarecafs.so: /home/jordilin/areca/lib/libarecafs.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)”
09-01-22 20:44 – WARNING – [com.myJava.file.metadata.posix.jni.JNIMetaDataAccessor] not validated. The default metadata accessor will be used instead.

4) ./areca.sh
5) done

Note. I tested this using 6.2 pre-release, but using 6.1 should be the same.