Thursday, August 29, 2013

install sqldeveloper on Ubuntu 12.04 LTS

1.download the oracle from Oracle main Site …Geek alert- Nah no command for this , you need to go register and download !!!
2.sudo apt-get install alien (Most probably this would have got already installed while installing oracle)
3.Logically you have  a rpm now so you got to change it to the format ubuntu understands it right ? Alient is your saviour to get that bit done

sudo alien --scripts -d sqldeveloper-3.2.20.09.87-1.noarch.rpm

4.Install sql developer from the deb package you have
sudo dpkg -i sqldeveloper_3.2.20.09.87-2_all.deb

5.Create the following directory in your home folder, this where it's going to store path to the jdk in the next step:
cd /home/$username(The system name variable)
say in my case cd /home/manish
  1. mkdir .sqldeveloper/
Run the sql developer from shell it is gonna ask it to feed path of java Do that , see 
echo $JAVA_HOME and feed that as input
mostly it is going to look like this
/usr/lib/jvm/java-6-openjdk
sudo /opt/sqldeveloper/sqldeveloper.sh

No comments:

Post a Comment