Legal | Privacy

Installing Oracle JDeveloper 10g on Linux

In this lesson, you learn how to install and configure Oracle JDeveloper 10g 9.0.5.1 on Linux.

This lesson covers the following topics:

Overview
Prerequisites
Checking the System Requirements
Installing Sun SDK 1.4.2_03 for Linux
Installing JDeveloper
Configuring JDeveloper and SDK
Modifying Your .bash_profile
Configuring OC4J
Modifying Permissions of Files in Linux
Adding an Icon to Your Panel
Running JDeveloper

Place the cursor on this icon to display all the screenshots in the lesson. You can also place the cursor on each individual icon in the following steps to see only the screenshot that is associated with that step.

You install the Oracle JDeveloper 10g 9.0.5.1software on Linux.

Before starting this lesson, you should have:

1.

Completed the Configuring Linux for the Installation of Oracle Database 10g lesson

 

The minimum system requirements for JDeveloper are:

Red Hat 2.1AS or 3.0 EL
Pentium III 866 MHz
512 MB RAM
390 MB hard-drive disk space for complete install

For JDeveloper to run successfully, you must install Java SDK release 1.4.2_03 (or later releases). Perform the following steps:

1.

Download the self-extracting binary file of version 1.4.2_03 (or later release) of the Sun J2SE for Linux (available at: http://www.javasoft.com) to your Linux machine.

 

2.

Follow the instructions provided on the JavaSoft Web site to install the Java SDK. Note the install location when it is complete.

 

To install JDeveloper, perform the following steps:

1.

Download Oracle10g JDeveloper 9.0.5.1 from http://otn.oracle.com/software/products/jdev/index.html.

 

2.

Open a terminal window and execute the following:

cd /u01/app/oracle/product
mkdir -p 9.0.5/jdeveloper
cd 9.0.5/jdeveloper
unzip <path to zip file>/jdev9051.zip

Example: If the jdev9051.zip file is in /stage, use:

unzip /stage/jdev9051.zip

The JDeveloper software installation is complete. The software now must be configured.

Move your mouse over this icon to see the image

 

You must carry out a few tasks before running JDeveloper. Perform the following steps:

1.

Using the text editor gedit or your editor of choice, open the file /u01/app/oracle/product/9.0.5/jdeveloper/jdev/bin/jdev.conf.

 

2.

Find the SetJavaHome parameter. Change

# SetJavaHome c:\jdk1.4.2_03

to the location where the Java SDK was installed.

Example:

SetJavaHome /usr/java/j2sdk1.4.2_04

Move your mouse over this icon to see the image

 

3.

Save the jdev.conf file and exit gedit.

 

Now that you have installed JDeveloper, you need to update the /home/oracle/.bash_profile and change your path accordingly. Perform the following steps:

1.

Open gedit and open the /home/oracle/.bash_profile file.

 

2.

Make sure the PATH includes the location for JDeveloper and the Java SDK.

For <JAVA SDK 1.4.2 release>, enter the full path to the location of the Java executable. Example: /usr/java/j2sdk1.4.2_02/bin

JDEV_HOME=$ORACLE_BASE/product/9.0.5/jdeveloper
PATH=$PATH:$JDEV_HOME/jdev/bin:<JAVA SDK 1.4.2 release>;
  export PATH

export JDEV_HOME

Move your mouse over this icon to see the image

 

3.

Save the .bash_profile file and exit gedit.

 

4.

You now need to source the file. Open a terminal window and execute the following commands:

cd
. ./.bash_profile

Move your mouse over this icon to see the image

 

To deploy applications in JDeveloper, you must configure OC4J. Perform the following steps:

1.

From a terminal window, execute:

cd $ORACLE_BASE/product/9.0.5/jdeveloper/j2ee/home
java -jar oc4j.jar -install

Move your mouse over this icon to see the image

 

At the prompt, enter the password oracle.

Move your mouse over this icon to see the image

 

You must carry out a few tasks before running JDeveloper. Perform the following steps:

1.

To set the proper permissions, execute the following commands from your terminal window:

chmod -R g+r $ORACLE_BASE/product/9.0.5/jdeveloper/
chmod +x $ORACLE_BASE/product/9.0.5/jdeveloper/jdev/bin/jdev
chmod +x $ORACLE_BASE/product/9.0.5/jdeveloper/jdev/bin/ojc
chmod +x $ORACLE_BASE/product/9.0.5/jdeveloper/jdev/bin/start_oc4j
chmod +x $ORACLE_BASE/product/9.0.5/jdeveloper/jdev/bin/stop_oc4j
chmod -R g+w $ORACLE_BASE/product/9.0.5/jdeveloper/j2ee/home/application-deployments
chmod -R g+w $ORACLE_BASE/product/9.0.5/jdeveloper/j2ee/home/applications
chmod -R g+w $ORACLE_BASE/product/9.0.5/jdeveloper/j2ee/home/config

Move your mouse over this icon to see the image

 

To create an icon on your panel in JDeveloper, perform the following steps:

1.

Right-click on the desktop (not in the toolbar, an icon, or a window). Select New Launcher from the drop-down menu.

 

2.

In the Create Launcher Applet window, enter the following and then click No Icon.

Name: JDeveloper 10g 9.0.5.1
Comment: JDeveloper 10g 9.0.5.1
Command: /u01/app/oracle/product/9.0.5/jdeveloper/jdev/bin/jdev

Move your mouse over this icon to see the image

 

3.

Enter /u01/app/oracle/product/9.0.5/jdeveloper/jdev/bin/ in the directory field and select coffee.png. Then click OK.

Move your mouse over this icon to see the image

 

4.

Click OK again to create the icon on the panel.

Move your mouse over this icon to see the image

 

To run JDeveloper, perform the following steps:

1.

Click the icon that you just created in the panel.

 

2.

The first time you run JDeveloper, you may get a message stating that your jdevhome directory does not exist and asking if you want to create it. Click Yes.

Move your mouse over this icon to see the image

 

3.

The first time you run JDeveloper, you may get a message asking if you want to upgrade your jdevhome directory.

If you have an existing jdevhome, click Yes. Otherwise click No.

Move your mouse over this icon to see the image

 

4.

The JDeveloper page appears.

Move your mouse over this icon to see the image

 

Place the cursor on this icon to hide all screenshots.

 

 

 

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy