So, if - like me - you find yourself in need of installing SQL Developer on Ubuntu 12.04 and have for some or other reason ended up downloading the rpm instead of the zip from the Oracle site or you already have an rpm of SQL Developer lying around follow these steps to install said software.

Then, to the terminal:

  1. First install alien:
    sudo apt-get install alien

  2. Then, convert the rpm file to a deb file:
    sudo alien --scripts -d sqldeveloper-3.2.10.09.57-1.noarch.rpm

  3. Then we run the deb file generated
    sudo dpkg -i sqldeveloper-3.2.10.09.57-1.noarch.deb

  4. Create the following directory in your home folder, this where it's going to store path to the jdk in the next step:
    mkdir .sqldeveloper/

  5. Run sqldeveloper once from the terminal
    sudo /opt/sqldeveloper/sqldeveloper.sh

  6. Enter the full path to Java 6

    If you've got the openjdk, it'll be:
    /usr/lib/jvm/java-6-openjdk

    For the official one it'll be:
    /usr/lib/jvm/java-6-sun

And that's SQL Developer on Ubuntu 12.04. From here on out, you can now run SQL Developer by clicking the icon in you application menu.

cereal commented: many thanks! +9

Thanks for sharing. I'm in that case you assume..

it's realy helpful thanks so much

Great! Thank you!

Thanks for your article but I have an issue about the JDK; it is specified in the Oracle documentation that the JDK 1.6.11 (or later but less than 1.7.n) is required, but I'm not able to find it since the latest JDK 6 version is 1.6.0.45.
Anyone can help please?

i have installed on WM Ware following:

Ubuntu 12.04 LTS 64bit - ok!
Java JDK 1.7.0.0_51 - ok! (Java 7 Oracle)
SQL Developer 4.0.0.13.80-1 - ok!
Java Path configuration -ok!

After installation of SQL Developer i started the SQL Developer and configured the connection. Everything works fine!

But if i close the SQL Developer, i can not start it again. And i receive no error maseges

Please help me, i have spend alot of time with this problem

Thanks!

Fix the startscript for SQL developer so it won't crash on startup
Edit /path_to_sqldeveloper/sqldeveloper/bin/sqldeveloper and add:

unset -v GNOME_DESKTOP_SESSION_ID

to the first line in the start script.

Hi I am getting the below error while launcing the sqldeveloper.
can you suggest me how to fix it.
error is -> "/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf to another java"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.