I am trying to install SQL Developer on Ubuntu 14.04. I have followed some tutorials but none of them worked. So I am asking you if you know how to install SQL Developer.
I am trying to install SQL Developer on Ubuntu 14.04. I have followed some tutorials but none of them worked. So I am asking you if you know how to install SQL Developer.
I installed SQL Developer with these steps:
(See the comments—this might not be necessary)
Download and re-install newest Ubuntu 14.04 LTS from Ubuntu website.
Install Java:
Java Version JDK 7:
Java Version JDK 8 (in some installations this is a requirement instead of 1.7):
Download SQL Developer from Oracle website (I chose Other Platforms download).
Extract file to
/opt
:Linking over an in-path launcher for Oracle SQL Developer:
Edit
/opt/sqldeveloper/sqldeveloper.sh
and replace it's content to:or (to prevent error:
./sqldeveloper: Permission denied
)Run SQL Developer:
Finally, create desktop application for easy to use:
add this lines:
then type:
Here's how I did it on Ubuntu, I think this is the easiest way and will give you a package that you can easily reuse later (but you can't redistribute according to OTN license):
Install the sql developer package as the following.
Now all what you need to do is to run the command (you might have a different version)
Now install the resulting .deb package using the command (Your deb might have a different version too):
You're now done with the installation. in my case it needed the new java 8 then you will need to run the following commands.
Finally you need to provide the java path for oracle sql developer at the first run in my case it was at
/usr/lib/jvm/default-java/
.Install Java 6. (It didn't work for me with Java 1.7):
Download the SQL Developer from here and choose Other platforms. (You'll need an account in order to download it). Open the Downloads directory:
and extract the file to
/opt
:Make the launch script executable:
Open sqldeveloper:
The first time you'll be asked to enter the jvm location. In my case (and probably yours if you have followed the first step), the location is:
/usr/lib/jvm/java-6-oracle
.I installed oracle sqldeveloper in ubuntu 17.10 using the following method:
Install alien:
sudo apt-get install alien
Install the rpm using alien:
sudo alien -i sqldeveloper-17.3.1.279.0537-1.noarch.rpm
Run sql developer by using the following command in the terminal
sqldeveloper
Make sure to change the version of your rpm. For this to be successful you have to have oracle java 8 or above installed in your machine.
I installed version 17.4 on Ubuntu 16.04 GNOME like so.
/usr/lib/jvm/java-8-openjdk-amd64
If absent, install withsudo apt install openjdk-8-jdk
. Newer versions of Java may work as well.~/sqldeveloper/sqldeveloper.sh
once to add location of Java. Enter/usr/lib/jvm/java-8-openjdk-amd64
Create the desktop icon for future access from my GUI menu.
Make the desktop file executable