Tizen SDK 2.2.1 on Ubuntu 13.10

I’ve registered for the Tizen Seattle Devlab & Hack which takes place on December 6-7 2013.  To prepare, I downloaded and installed the Tizen SDK. I’m really enjoying it so far, but I had a couple of issues with installation and startup on Ubuntu 13.10.

Remove Google Talk

First of all, I had issues starting Tizen IDE. It turned out that I need to uninstall google-talk

$ sudo apt-get remove google-talkplugin

Install Oracle JDK

Then, I had to install Oracle’s JDK as mentioned on Tizen’s prerequisites page.

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java6-installer

The last thing to do is to make sure your system is configured to use Oracle’s JDK instead of OpenJDK.

$ sudo update-alternatives --config java

Just select the number of the java6 JDK. For example, in the following display you would choose 2 to switch from Oracle JDK7 to JDK6:

There are 4 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
  0            /usr/lib/jvm/java-6-oracle/jre/bin/java          1076      auto mode
  1            /usr/bin/gij-4.8                                 1048      manual mode
  2            /usr/lib/jvm/java-6-oracle/jre/bin/java          1076      manual mode
  3            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071      manual mode
* 4            /usr/lib/jvm/java-7-oracle/jre/bin/java          1075      manual mode

Press enter to keep the current choice[*], or type selection number: 

Note: This seems to work with both Oracle’s JDK6 and JDK7. If you’d like to use JDK7 instead of the suggested prerequisite, you can follow the same steps above but instead install version 7 of the JDK:

$ sudo apt-get install oracle-java7-installer

Link libudev.so.1 to libudev.so.0

After all of these steps, you should be able to start up the Tizen IDE (which is a modified Eclipse IDE). However, I had a message that sdb failed to start. This will prevent you from starting an application on an emulator (you can still start on the web simulator for a web application). The sdb issue is caused by a newer libudev library version installed from Ubuntu 13.10’s repository. The fix (which you can also find on askubuntu) is to symlink the newer version of the shared library to the expected version:

$ # 32-bit:
$ sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
$ # 64-bit:
$ sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0

Try Tizen SDK

The download of the Tizen SDK is available here.

Flattr this!