Ubuntu jdk and OracleSqlDeveloper first download jdk ***. binsqldeveloper-3.1.07.42-1.noarch.rpmjdk install www.2cto.com this file is installed in the current directory when running, so find a directory you want to install, I use/usr /... install ubuntu jdk and Oracle SQL Developer. first download jdk ***. binsqldeveloper-3.1.07.42-1.noarch.rpmjdk install www.2cto.com this file is installed in the current directory when running, so find a directory you want to install, I use/usr/lib/jvm/java, code: cd .. cd usr/libmkdir jvm (create jvm folder) cd jvmmkdir javacd java (then put the file jdk ***. bin .) Chmod u + x jdk ***. binsudo./jdk ***. the bin screen continues to scroll until you enter yes/no. of course yes, press enter. After the installation is complete: add gedit/etc/profile at the end of the opened file: # set java environmentJAVA_HOME =/usr/lib/jvm/java/jdk1.6.0 _ 24 export JRE_HOME =/usr/lib/jvm/java/jdk1.6.0 _ 24/jreexport CLASSPATH =.: $ JAVA_HOME/lib: $ JRE_HOME/lib: $ CLASSPATHexport PATH = $ JAVA_HOME/bin: $ JRE_HOME/bin: $ PATH (configure the system java environment) restart to check java: java-version: java version "1.6.0 _ 24" Java (TM) SE Runtime Environment (build 1.6.0 _ 24-b07) Java HotSpot (TM) Server VM (build 19. 1-b02, mixed mode) indicates that the installation is successful. Jdk 1.6.0 _ 24 is based on the jdk you downloaded. different sqldevelopers install the sqldeveloper linux installation package only in the rpm format. ubuntu does not support it. you need to convert rpm to deb, here we use alien. if sudo apt-get install alien is not installed first, then sudo alien/path/xxxx. rpm then generates a XXXXX file in the current user path. deb directly sudo dpkg-I xxxx. deb. Enter sudo sqldeveloper on the terminal to start the service. the following message is displayed: Type the full pathname of a J2SE installation (or Ctrl-C to quit ), the path will be stored and enter the jdk path. It is difficult to enter the jdk path for each startup. Modify the configuration file of sqldeveloper under/opt/sqldeveloper/bin, and restart the file (otherwise it may not take effect) # vi. /sqldeveloper/bin/sqldeveloper. conf: modify the SetJavaHome parameter to $ JAVA_HOME, and the installation is complete. The interface is good.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service