Java null pointer exception in Mozilla

Alex Esplin alex.esplin at
Thu Jun 8 08:45:21 MDT 2006

On 6/7/06, Russel Caldwell <caldr704 at> wrote:
> rlc at caldr704:~$ ls -l /usr/lib/mozilla/plugins/


> lrwxrwxrwx  1 root root      68 2005-12-29 09:21 ->
> /usr/lib/j2sdk1.4.2/jre/plugin/i386/ns610-gcc32/
> lrwxrwxrwx  1 root root      39 2005-12-29 19:00 ->
> /etc/alternatives/

This is trying to use the plugin from Java 1.4.2 unless the one linked
to /etc/alternatives/ (which I've never seen) is
a 1.5 plugin.  Is 1.4.2 still installed on your machine?

> rlc at caldr704:~$ java -version
> java version "1.5.0_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

If 1.4.2 isn't still installed on your computer, it's trying to use a
plugin from a runtime that no longer exists.  Find your current java
install location (where 1.5 is installed), then make a new symlink to
it from your /usr/lib/mozilla/plugins directory.  (You may also want
to make a symlink to it from your .mozilla/plugins directory in your
home directory.

This is what I have done on my own system.  Anyone else feel free to
correct me if I'm wrong.

Alex Esplin

More information about the PLUG mailing list