Installation Procedure for SQLDeveloper
Oracle's SQL Developer installation instructions are provided for:
Installation Instructions for Linux Mint 14: (KDE)
-
Install the Install Maker
-
sudo apt-get install sqldeveloper-package
-
Fix Error: chmod: missing operand after `755'. Apply the sql-developer Magic Patch
-
kdesudo kate /usr/bin/make-sqldeveloper-package
-
Edit Line 381 with comment # Set Executable bit
-
Find and Replace in file /usr/bin/make-sqldeveloper
-
${FIND} "${OPTDIR}" ! \( -type d -o -name "*.jar" \) |${XARGS} ${XARGS_OPTS} ${FILE} ${FILE_OPTS} |${GREP} ${GREP_OPTS} "shell script" | ${GREP} ${GREP_OPTS} "text executable" |${CUT} ${CUT_OPTS_FUNC_CLEAN} |${XARGS} ${XARGS_OPTS} ${CHMOD} ${CHMOD_OPTS}
-
The diff file can be found at https://launchpadlibrarian.net/102939658/sqldeveloper-magic.diff
-
Create an account, download sql developer package in zip format (at the bottom)
-
http://www.oracle.com/technology/software/products/sql/index.html
-
//The filename in my case was sqldeveloper-3.2.20.09.87-no-jre.zip
-
Install and configure tofrodos
-
sudo apt-get install tofrodos
-
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
-
sudo ln -s /usr/bin/todos /usr/bin/unix2dos
-
Install some Installation Tools
-
sudo apt-get install debhelper
-
Convert the ZIp into a deb package
-
mkdir ~/Downloads/bin
-
make-sqldeveloper-package -b ~/Downloads/bin ~/Downloads/sqldeveloper-3.2.20.09.87-no-jre.zip
-
Install the newly created package and java-6
-
sudo dpkg -i /home/`whoami`/Downloads/sqldeveloper_3.2.20.09.87+0.2.3-1_all.deb
-
sudo apt-get install openjdk-6-jdk openjdk-6-jre
-
Run sqldeveloper. In Terminal Type
-
Enter the following as path when prompted.
-
/usr/lib/jvm/java-6-openjdk-i386
-
Alternativly, one could run the command...
-
echo "/usr/lib/jvm/java-6-openjdk-i386" > ~/.sqldeveloper/jdk
Installation Instructions for Linux Mint 13:
-
Install the Install Maker
-
sudo apt-get install sqldeveloper-package
-
Fix Error: chmod: missing operand after `755'. Apply the sql-developer Magic Patch
-
gksudo gedit /usr/bin/make-sqldeveloper
-
Edit Line 381 with comment # Set Executable bit
-
Find and Replace in file /usr/bin/make-sqldeveloper
-
${FIND} "${OPTDIR}" ! \( -type d -o -name "*.jar" \) |${XARGS} ${XARGS_OPTS} ${FILE} ${FILE_OPTS} |${GREP} ${GREP_OPTS} "shell script" | ${GREP} ${GREP_OPTS} "text executable" |${CUT} ${CUT_OPTS_FUNC_CLEAN} |${XARGS} ${XARGS_OPTS} ${CHMOD} ${CHMOD_OPTS}
-
The diff file can be found at https://launchpadlibrarian.net/102939658/sqldeveloper-magic.diff
-
Create an account, download sql developer package in zip format (at the bottom)
-
http://www.oracle.com/technology/software/products/sql/index.html
-
//The filename in my case was sqldeveloper-3.1.07.42-no-jre.zip
-
Install and configure tofrodos
-
sudo apt-get install tofrodos
-
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
-
sudo ln -s /usr/bin/todos /usr/bin/unix2dos
-
Install some Installation Tools
-
sudo apt-get install debhelper
-
Convert the ZIp into a deb package
-
mkdir ~/Downloads/bin
-
make-sqldeveloper-package -b ~/Downloads/bin ~/Downloads/sqldeveloper-3.1.07.42-no-jre.zip
-
Install the newly created package
-
sudo dpkg -i /home/username/Downloads/sqldeveloper_3.1.07.42+0.2.3-1_all.deb
-
Run sqldeveloper. In Terminal Type
-
Enter the following as path when prompted.
-
/usr/lib/jvm/default-java
-
Alternativly, one could run the command...
-
echo "/usr/lib/jvm/default-java" > ~/.sqldeveloper/jdk
Installation Instructions for Linux Mint 12:
-
Install the compiler package for sql developer
-
sudo apt-get install sqldeveloper-package
-
sudo apt-get install sun-java6-jsk sun-java6-jre
-
Create an account, download sql developer package in zip format (at the bottom)
-
http://www.oracle.com/technology/software/products/sql/index.html
-
//The filename in my case was sqldeveloper-3.1.07.42-no-jre.zip
-
Install and configure tofrodos
-
sudo apt-get install tofrodos
-
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
-
sudo ln -s /usr/bin/todos /usr/bin/unix2dos
-
Install some Installation Tools
-
sudo apt-get install debhelper
-
Convert the ZIp into a deb package
-
make-sqldeveloper-package -b BUILDLOCATION LOCATION_OF_ZIP_FILE
-
Install the newly created package
-
sudo dpkg -i BUILDLOCATION/FILENAME
-
//in my case this was: sudo dpkg -i /home/username/bin/sqldeveloper_3.1.07.42+0.2.3-1_all.deb
-
Run sqldeveloper. In Terminal Type
-
Enter the following as path when prompted.
-
Alternativly, one could run the command...
-
echo "/usr/lib/jvm/java-6-sun" > ~/.sqldeveloper/jdk