Legal | Privacy

Installing Oracle9i JDeveloper on Linux

In this lesson, you learn how to install and configure Oracle9i JDeveloper on Linux.

This lesson covers the following topics:

Overview
Prerequisites
Checking the System Requirements
Installing Sun SDK 1.3.1_02 for Linux
Installing JDeveloper
Configuring JDeveloper and SDK
Modifying Your .bash_profile
Stopping and Starting VNC (Optional)
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 Oracle9i JDeveloper 9.0.3.2 software 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
Pentium III 500 MHz
256 MB RAM
275 MB hard-drive disk space for complete install

For JDeveloper to run successfully, you must install Sun SDK release 1.3.1_02. Perform the following steps:

1.

Download the self-extracting binary file from Sun at http://java.sun.com/products/archive/index.html to your Linux machine. Place it in the /stage directory.

Note: If you do not have a /stage directory, execute the following commands from a terminal window:

cd /
su
<password>
mkdir /stage
chown oracle:dba /stage
chmod 755 /stage
exit

 

2.

Open a terminal window and execute the following:

cd /usr
su
<password>
chown oracle:dba /usr/java
chmod 755 /usr/java
exit
cd java
cp /stage/j2sdk-1_3_1_02-Linux-i386.bin j2sdk-1_3_1_02-Linux-i386.bin
chmod a+x j2sdk-1_3_1_02-Linux-i386.bin
./j2sdk-1_3_1_02-Linux-i386.bin

The SDK is now installed.

 

To install JDeveloper, perform the following steps:

1.

Download Oracle9i JDeveloper 9.0.3.2 from http://otn.oracle.com/software/products/jdev/index.html to your Linux machine. Place it in the /stage directory.

 

2.

Open a terminal window and execute the following:

cd /oracle
mkdir jdev9032
cd jdev9032
unzip /stage/jdev9032.zip

The files all exist and the product is now installed.

 

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

1.

Open gedit and open the /oracle/jdev9032/jdev/bin/jdev.conf file.

 

2.

Find the SetJavaHome parameter and add the following line:

SetJavaHome /usr/java/jdk1.3.1_02

 

3. Find the SetJavaVM parameter and add a line containing the name of the Java Virtual Machine that you want to use ("Hotspot" is an example):
SetJavaVM hotspot

Move your mouse over this icon to see the image

 

4.

Save the jdev.conf file and exit gedit.

 

Now that you have installed JDeveloper, you must 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 is set to the following:

PATH=$PATH:$ORACLE_BASE/jdev9032/jdev/bin:/usr/java/jdk1.3.1_02/bin;
  export PATH

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

 

For your changes to take effect, you may need to stop and start VNC. This step is needed only if you are accessing the Linux machine remotely. Perform the following steps:

1.

From a telnet window logged in as the oracle user, execute the following commands:

vncserver -kill :2
vncserver :2

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 your terminal window, execute the following:

cd $ORACLE_BASE/jdev9032/j2ee/home
java -jar oc4j.jar -install

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.

All JDeveloper files must have read permissions. Open a terminal window and execute the following command:

chmod -R g+r /oracle/jdev9032

 

2.

Users (or groups) must have write and execute permissions for the following files:

<jdev_install>/jdev/bin/jdev
<jdev_install>/jdev/bin/ojc
<jdev_install>/jdev/bin/start_oc4j
<jdev_install>/jdev/bin/stop_oc4j

From your terminal window, execute the following commands:

chmod 755 /oracle/jdev9032/jdev/bin/jdev
chmod 755 /oracle/jdev9032/jdev/bin/ojc
chmod 755 /oracle/jdev9032/jdev/bin/start_oc4j
chmod 755 /oracle/jdev9032/jdev/bin/stop_oc4j

 

3.

In addition, users (or groups) must have write permissions for the following (required for deployment):

<jdev_install>/j2ee/home/application-deployments
<jdev_install>/j2ee/home/applications
<jdev_install>/j2ee/home/config

From your terminal window, execute the following commands:

chmod -R g+w /oracle/jdev9032/j2ee/home/application-deployments
chmod -R g+w /oracle/jdev9032/j2ee/home/applications
chmod -R g+w /oracle/jdev9032/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.

Select Main Menu > Panel > Add to Panel > Launcher.

 

2.

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

Name: JDeveloper
Comment: JDeveloper
Command: /oracle/jdev9032/jdev/bin/jdev

Move your mouse over this icon to see the image

 

3.

Enter /oracle/jdev9032/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 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