How-to : Install SQL Developer 3 on a CentOS 6.2 i686 box

SQLdev

Introduction

For this small piece of how-to i used a virtual machine running under “Oracle VM VirtualBox Manager 4.1.12_OSE”. I installed the CentOS 6.2 32 bits as basic server (no X server) and i then installed the X server and KDE desktopĀ  (see “you need to install an X window system and a graphic environment on CentOS/RHel/Fedora” section for information about this)

1 Pre-requisite

1.1 Install JDK from oracle

  1. Remove pre-existent java installation (such as open jdk or any other java implementation)
    yum remove java-*
  2. Download the Oracle JDK from Oracle web site, the command below takes you to the oracle website, on this page choose “Java SE 6 Update 32” (i did not test this guide with other java version)
    firefox http://www.oracle.com/technetwork/java/javase/downloads/index.html
  3. Select the “jdk-6u32-linux-i586-rpm.bin” file
  4. Once you have downloaded the file cd to the download dir
  5. Make the .bin executable
    chmod +x jdk-6u32-linux-i586-rpm.bin
  6. Run the executable
    ./jdk-6u32-linux-i586-rpm.bin
  7. You should get an output like
    [root@CentOSTest Downloads]# ./jdk-6u32-linux-i586-rpm.bin
    Unpacking...
    Checksumming...
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
      inflating: jdk-6u32-linux-i586.rpm
      inflating: sun-javadb-common-10.6.2-1.1.i386.rpm
      inflating: sun-javadb-core-10.6.2-1.1.i386.rpm
      inflating: sun-javadb-client-10.6.2-1.1.i386.rpm
      inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm
      inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm
      inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm
    Preparing...                ########################################### [100%]
       1:jdk                    ########################################### [100%]
    Unpacking JAR files...
            rt.jar...
            jsse.jar...
            charsets.jar...
            tools.jar...
            localedata.jar...
            plugin.jar...
            javaws.jar...
            deploy.jar...
    Installing JavaDB
    Preparing...                ########################################### [100%]
       1:sun-javadb-common      ########################################### [ 17%]
       2:sun-javadb-core        ########################################### [ 33%]
       3:sun-javadb-client      ########################################### [ 50%]
       4:sun-javadb-demo        ########################################### [ 67%]
       5:sun-javadb-docs        ########################################### [ 83%]
       6:sun-javadb-javadoc     ########################################### [100%]
    
    Java(TM) SE Development Kit 6 successfully installed.
    
    Product Registration is FREE and includes many benefits:
    * Notification of new versions, patches, and updates
    * Special offers on Oracle products, services and training
    * Access to early releases and documentation
    
    Product and system data will be collected. If your configuration
    supports a browser, the JDK Product Registration form will
    be presented. If you do not register, none of this information
    will be saved. You may also register your JDK later by
    opening the register.html file (located in the JDK installation
    directory) in a browser.
    
    For more information on what data Registration collects and
    how it is managed and used, see:
    http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html
    
    Press Enter to continue.....
    
    Done.

As stated at the last line, you are now done with the Oracle java installation, now we install SqlDeveloper…

 

 

2 SQL developer installation

2.1 Install SQL Developer

  1. Download the Oracle SQL Developer from Oracle web site. The below link take you to a login page where you can also register, once you have register go back to this page and you download should start automatically.
    Note : You must register to download sql developer.

    firefox http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-3.1.07.42-1.noarch.rpm
  2. Once you have downloaded the file cd to the download dir
  3. Install the downloaded rpm
    rpm -Uvh sqldeveloper-3.1.07.42-1.noarch.rpm
  4. Here is the output when everything go smooth
    [root@CentOSTest Downloads]# rpm -Uvh sqldeveloper-3.1.07.42-1.noarch.rpm
    Preparing...                ########################################### [100%]
       1:sqldeveloper           ########################################### [100%]
  5. Test the freshly installed software
    sqldeveloper

You should now be done!

Fell free to ask if any problems occurs.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site supports SyntaxHighlighter via WP SyntaxHighlighter. It can highlight your code.
How to highlight your code: Paste your code in the comment form, select it and then click the language link button below. This will wrap your code in a <pre> tag and format it when submitted.