Can't install Arduino 1.0.5. on Ubuntu 13.10

I've downloaded and extracted Arduino IDE 1.0.5 from the official website but the application doesn't launch. When I run the application, I'm just being promted to select a folder for the sketches, then nothing happens.

When I run the executable in a terminal, I get these error messages:
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

I've tried to install the IDE via the command lines and the software centre but the problem remains the same.
I have also installed libxml2 and gtkterm as indicated on a forum but I had no success.

I'm using Ubuntu 13.10 64 bits and I've got an Arduino Uno. openjdk-7-jre, gcc-avr and avr-libc are installed on my machine.

I'm sorry for asking such basic question but I couldn't find any help elsewhere. Any suggestions would be greatly appreciated! :slight_smile:

Execute the IDE from the command line for a clue as to what is wrong.

Try first as a normal user and also as root.

"which arduino" might tell a tale too.

Thanks for your reply Polypagan.

"which arduino" gives /usr/bin/arduino which looks normal.

When I execute the IDE from the command line as a normal user, I get the same error message:
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

When I log as root, I get

Java HotSpot(TM) Server VM warning: You have loaded library /usr/lib/jni/librxtxSerial-2.2pre1.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
java.lang.UnsatisfiedLinkError: /usr/lib/jni/librxtxSerial-2.2pre1.so: /usr/lib/jni/librxtxSerial-2.2pre1.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jni/librxtxSerial-2.2pre1.so: /usr/lib/jni/librxtxSerial-2.2pre1.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary1(Unknown Source)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
	at processing.app.Editor.populateSerialMenu(Editor.java:962)
	at processing.app.Editor.buildToolsMenu(Editor.java:691)
	at processing.app.Editor.buildMenuBar(Editor.java:476)
	at processing.app.Editor.<init>(Editor.java:205)
	at processing.app.Base.handleOpen(Base.java:705)
	at processing.app.Base.handleOpen(Base.java:670)
	at processing.app.Base.handleNew(Base.java:566)
	at processing.app.Base.<init>(Base.java:306)
	at processing.app.Base.main(Base.java:195)

As suggested here, I'm going to try to re-install Java:
http://askubuntu.com/questions/395985/problems-with-eclipse-and-updated-java-version

Any more clues?