java
NoOp
glgxg at sbcglobal.net
Wed Feb 6 17:59:28 UTC 2008
On 02/06/2008 09:03 AM, Wulfy wrote:
> Douglas Drumond wrote:
>> Install sun-java6-plugin.
>> After that run
>> sudo update-alternatives --config java
>> and choose your Java environment.
>> I think you can do just sudo update-alternatives --config javap
>> to choose what java plugin to use, but I'm not sure.
> There's also;
>
> sudo update-java-alternatives
>
> to do an all-in-one choice for java... I use the '-a' auto option, but
> I only have java6 installed... the '-l' (lower-case L not one) option
> gives a list of possible java environments to choose.
>
And if all else fails...
Create a plugins folder in ./mozilla (./mozilla/plugins) and keep all of
your plugins there. To use java, create a link to the
libjavaplugin_oji.so lib:
cd /home/<username>/.mozilla/plugins
ln -s
/usr/lib/jvm/java-6-sun-1.6.0.03/jre/plugin/i386/ns7/libjavaplugin_oji.so
./libjavaplugin_oji.so
Note: 'ln -s' to the last ./libjavaplugin_oji.so is all one line. There
is a space between ns7/libjavaplugin_oji.so and ./libjavaplugin_oji.so.
*Do not* copy the actual libjavaplugin_oji.so lib to the
.mozilla/plugins directory - if you do FF will crash when you try to run
a Java app.
Firefox will pick up the plugin next time that you start it. You can
verify 2 ways: 1) enter 'about:plugins' in the url toolbar and then look
for the Java plugin, 2) go to http://java.com/en/download/installed.jsp
and verify (requires that cookies & java be turned on).
The advantage of keeping your plugins in the .mozilla/plugins directory
is that you can easily change, modify, or check in one single location.
Further, if you graduate to SeaMonkey, SM (and other mozilla apps) will
use the plugins in that directory as well.
More information about the ubuntu-users
mailing list