Home

Saturday, April 5, 2008

Oracle Apps on Linux

Easy steps for Java plugins for firefox in GNU/Linux(debian).
Download and install the java j2sdk1.4.2_05 from http://java.sun.com/ .
Download the j2sdk_1.4.2_05 and install.
Say you have installed it to your /usr/local/java, then you would have a a plugin file : $JAVA_HOME/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.
so Find the location of your firefox plugins in your firefox install directory. It will be usually available /usr/lib/mozilla/plugins
Make a link to the libjavaplugin_oji.so from your plugins directory.You can use the command from the firefox_plugin_directory as
ln -s /usr/local/java/j2sdk1.4.2_05/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
Now you have Java
To get Oracle apps working on linux.
Restart your firefox and goto the url : about:plugins
Now you should have java plugins and the page should show
application/x-java-bean;jpi-version=1.4.2_05 Java Yes
Goto your ~/.mozilla/firefox/ directory and open your pluginreg.dat A small hack here can get you your Oracle apps working on Linux. Just change the following
14:application/x-java-applet;jpi-version=1.4.2_05:Java::$
to
14:application/x-java-applet;jpi-version=1.4.1:Java::$
and also there is another similiar entry for the x-java-bean mime type to.
Also add the following lines to the pluginreg.dat
29:application/x-jinit-applet;version=1.1.8.16:Java::$ 30:application/x-jinit-applet;version=1.1.8.13:Java::$ 31:application/x-jinit-applet;version=1.1.8.19:Java::$
Also remember to change the count of the plugins on top of the plugins These are the contents of my pluginreg.dat.
[PLUGINS]
/usr/local/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so:$ :$ 1090693490000:1:5:$ Java(TM) Plug-in 1.4.2_05:$ Java(TM) Plug-in 1.4.2_05-b04:$ 32 0:application/x-java-vm:Java::$ 1:application/x-java-applet:Java::$ 2:application/x-java-applet;version=1.1:Java::$ 3:application/x-java-applet;version=1.1.1:Java::$ 4:application/x-java-applet;version=1.1.2:Java::$ 5:application/x-java-applet;version=1.1.3:Java::$ 6:application/x-java-applet;version=1.2:Java::$ 7:application/x-java-applet;version=1.2.1:Java::$ 8:application/x-java-applet;version=1.2.2:Java::$ 9:application/x-java-applet;version=1.3:Java::$ 10:application/x-java-applet;version=1.3.1:Java::$ 11:application/x-java-applet;version=1.4:Java::$ 12:application/x-java-applet;version=1.4.1:Java::$ 13:application/x-java-applet;version=1.4.2:Java::$ 14:application/x-java-applet;jpi-version=1.4.1:Java::$ 15:application/x-java-bean:Java::$ 16:application/x-java-bean;version=1.1:Java::$ 17:application/x-java-bean;version=1.1.1:Java::$ 18:application/x-java-bean;version=1.1.2:Java::$ 19:application/x-java-bean;version=1.1.3:Java::$ 20:application/x-java-bean;version=1.2:Java::$ 21:application/x-java-bean;version=1.2.1:Java::$ 22:application/x-java-bean;version=1.2.2:Java::$ 23:application/x-java-bean;version=1.3:Java::$ 24:application/x-java-bean;version=1.3.1:Java::$ 25:application/x-java-bean;version=1.4:Java::$ 26:application/x-java-bean;version=1.4.1:Java::$ 27:application/x-java-bean;version=1.4.2:Java::$ 28:application/x-java-bean;jpi-version=1.4.1:Java::$ 29:application/x-jinit-applet;version=1.1.8.16:Java::$ 30:application/x-jinit-applet;version=1.1.8.13:Java::$ 31:application/x-jinit-applet;version=1.1.8.19:Java::$
Thanks & Regards, S.Grace Paul Regan.

No comments: