I described earlier a way to install jDeveloper in Ubuntu. This article describes a second - easier? - way.

Step 1: Download the .bin file here. Choose your Linux architecture (32 or 64 bit) and press download.

Step 2: Open a terminal (ctrl+alt+t) and go to the directory where your downloaded .bin file resides. Then we'll change file access rights to prevent the "permission denied" message.

chmod 777 <your jdeveloper bin file nam>.bin

Step 3: Start the installer

./<your jdeveloper bin file name>.bin

Step 4: Follow the installer instructions.

Step 5: You will probably notice that when the install finished and you choose to start jDeveloper that it doesn't start. The cause is the JDK or the GNOME_DESKTOP_SESSION_ID parameter.

Four options; 1. unset the parameter (click here),  2. start jDeveloper as root (see below), 3. install JDK 7 (download here), or 4. install and use openJDK.
We continue to install the openJDK and make sure that jDeveloper uses it.

sudo apt-get install openjdk-7-jdk

Once installed, check your java version

java -version

When that is ok, we let jDeveloper know which JDK to use. Go to the directory where jDeveloper is installed (probably in your home dir, something like /Oracle/Middleware/Oracle_Home/jdeveloper/). Open the jdev.conf file with an editor

cd jdev/bin
gedit jdev.conf

Add an # in front of the line that starts with SetJavaHome... 

And then put in the line: SetJavaHome /usr/lib/jvm/java-7-openjdk-amd64

Close the editor and remain in the bin directory

Finally start jDeveloper. 


NB. If you're having problems creating JDBC connections, you can start jdeveloper as root without using the openJDK. Before you do that, make sure to undo the changes you did in the jdev.conf and then:

sudo ./jdev

Unset the parameter. You need to do this everytime after a reboot, so, put it in a script which will unset the parameter and then start jdeveloper

Joomla templates by a4joomla