1. Install JDK
Copy Code code as follows:
# cd/u01 (Put JDK files in this directory)
# chmod A+x Jdk-6u41-linux-i586.bin
#./chmod a+x Jdk-6u41-linux-i586.bin (Prompt authorization instructions, q Skip, then enter Yes, wait to complete the installation)
2. Open/etc/profile and add at the end of profile:
Copy Code code as follows:
Exportjava_home=/u01/jdk1.6.0_41
Exportjava_bin=/u01/jdk1.6.0_41/bin
Exportpath= $PATH: $JAVA _home/bin
Exportclasspath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
3. Verify that the java-version appears on the JDK version information that is successful
4. Install Sqldeveloper
Copy Code code as follows:
# cd/u01 (Put the Sqldeveloper file in this directory)
# RPM-IVH sqldeveloper-3.2.20.09.87-1.noarch.rpm
# Cd/opt/sqldeveloper
#./sqldeveloper.sh
Prompt to enter JDK path/u01/jdk1.6.0_41 complete
Application → programming →sql developer