This post in mainly for my own usage, my brain loose very quickly informations 😛
I use Ubuntu Intrepid Ibex 64bit version with Firefox Linux x86_64 and occasionally I need to visit some website using Java applets, as well known to run Java plugin you need to use the Firefox 32bit version because the Java plugin exists only for this architecture.
I don’t want to trash my FF 64bit (also Swiftweasel) only for Java plugin so I’ve decided to configure Prism to use the websites needing java plugin.
- Install the 32bit version of java
sudo apt-get install ia32-sun-java6-bin - Create a symlink to plugin
sudo ln -s /usr/lib/jvm/ia32-java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /home/dave/.mozilla/plugins/ - Create a prism webapp, for example using the Sun test page
The destination path /home/dave/.mozilla/plugins/ must be modified according to your settings
This confirms Prism is rock 😉
EDIT (05 July 2009) After Sun released the plugin compatible with 64bit platforms you can change the symlink to
ln -s $JDK_INSTALLED_DIR/jre/lib/amd64/libnpjp2.so /home/dave/.mozilla/plugins/
as described at PluginDoc web page
Amazon wish list
thats for this, was helpful cos now i can access my netbank without loading up virtualbox!
Comment by harry houdini — November 10, 2008 @ 12:16 am
Does not seem to be working for me with 8.04, using Firefox 3.0.4 from the Ubuntu repositories. The Sun test page writes a desktop shortcut, but double clicking that will just open a browser window with my home page and show this error in error console:
Error: Warning: unrecognized command line flag -app
Source File: file:///usr/lib/firefox-3.0.4/components/nsBrowserContentHandler.js
Line: 707
Comment by Heikki Toivonen — November 22, 2008 @ 2:46 am
@Heikki You need Prism not Firefox, it seems you passed the -app switch to Firefox executable not Prism
The command line should be something similar to
“/opt/devel/mozilla/prism/prism” -override “/home/dave/WebApps/myapp@prism.app/override.ini” -webapp myapp@prism.app
where /home/dave/WebApps/myapp@prism.app/ contains files created by Prism with your webapp configuration
Comment by dafi — November 22, 2008 @ 8:51 am