Wednesday, 29 May 2013


How to open oracle forms in ubuntu 11.10


1. Download jre-6u31-linux-i586.bin from the following link http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html

2. chmod u+x jre-6u31-linux-i586.bin

3. ./jre-6u31-linux-i586.bin

4. sudo mv jre1.6.0_31 /usr/lib/jvm/

5. sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.6.0_31/bin/java" 1

6. sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" "mozilla-javaplugin.so" "/usr/lib/jvm/jre1.6.0_31/lib/i386/libnpjp2.so" 1

7. sudo update-alternatives --config java

There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-6-sun/jre/bin/java       63        manual mode
  3            /usr/lib/jvm/jre1.6.0_31/bin/java          1         manual mode

Press enter to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/lib/jvm/jre1.6.0_31/bin/java to provide /usr/bin/java (java) in manual mode.

8. sudo update-alternatives --config mozilla-javaplugin.so

The output will be "There is only one alternative in link group mozilla-javaplugin.so: /usr/lib/jvm/jre1.6.0_31/lib/i386/libnpjp2.so  Nothing to configure."

Now restart the firefox browser and it will successfully open oracle forms.............

In forms opening page' click on "Always activate plugin for server2.xxxx.com"

That's it..........

No comments:

Post a Comment