To manage Oracle databases in Ubuntu, we 'd better use Oracle's own SQL developer software. Previously I installed DbVisualizer to manage Oracle, which is a common database management tool and convenient.
On the Internet, many methods for installing the rpm package provided by Ubuntu on the oracle official website need to install jdk support first. Here I will use a simple method.
1. get jdk: Download jdk on sun's official website and install it. (If you do not want to install jdk, you can directly find a jdk folder. In fact, many software that requires jdk are required, for example, you can specify the jdk path in eclipse)
2. Download sqldeveloper,Http://www.oracle.com/policy/software/products/ SQL /index.html, download the last Oracle SQL Developer for other platformsInstead of the rpm version.
3. decompress the package to your favorite directory./sqldeveloper
4. Open./sqldeveloper/Ide/bin/launcher. sh, find CheckJDK (), and change APP_JAVA_HOME to the jdk path, as shown in figure
if [ "X$APP_JAVA_HOME" != "X" ]
then
if [ ! -d ${APP_JAVA_HOME} ]
then
APP_JAVA_HOME="/home/xxx/jdk1.6.0_18"
fi
fi
5. Create an initiator and select./sqldeveloper. sh in the command.
OK!