Saturday, January 11, 2014

Install Oracle SQL Developer 4.0 on Ubuntu 14.04

This little HOW-TO will explain how to install Oracle's SQL Developer 4.0 on Ubuntu 14.04
First download the Oracle SQL developer 4 rpm from Oracle's website http://www.oracle.com

Install alien to be able to convert .rpm packages to .deb
sudo apt-get install alien

Convert and install the SQL developer 4 .rpm
This way you will be able to link the program on the launcher
sudo alien --scripts sqldeveloper-4.0.*.noarch.rpm 
sudo dpkg -i sqldeveloper_4.0.*.deb 

Fix the startscript for SQL developer so it won't crash on startup

Edit /usr/local/bin/sqldeveloper and add:
unset -v GNOME_DESKTOP_SESSION_ID to the first line in the start script.
sudo vi /usr/local/bin/sqldeveloper
Done! Now you can find and start it in unity!
Web Analytics