Java crashes in Mozilla Firefox

Per Anton Rønning pa-ronn at
Wed Oct 12 09:31:23 UTC 2011

Ian Malone wrote:
> On 10 October 2011 10:57, Per Anton Rønning <pa-ronn at> wrote:
>> Ian Malone wrote:
>>> On 8 October 2011 09:05, Heinz Diehl <htd at> wrote:
>>>> On 08.10.2011, Per Anton Rønning wrote:
>>>>> Error occurred during initialization of VM
>>>>> java/lang/NoClassDefFoundError: java/lang/Object
>>>>> Ring a bell?
>>>> Unfortunately not. Does this one help?
> So it looks like there are three Java here:
>>> 1. Making sure that the symlinked plugin really is symlinked and
>>> pointing to the libnpjp2 in the installed java directory
>>> (/usr/java/jre1.6.0_27/lib/i386/ ?) and is not a copy or
>>> pointing to a copy.
>> Hi Ian:
>> the in this location is:
>> -rwxr-xr-x 1 root root  77510 2011-07-19 10:57
>> so it should be an executable, not a symlink pointing to other locations.
> This means the Java you're using with that plugin is
> /usr/java/jre1.6.0_27, which should be a fairly recent Sun Java.
>>> 2. Checking 'which java' reports 'bin' in the same install directory
>>> (it would be /usr/java/jre1.6.0_27/bin/java assuming the location from
>>> #1).
>> which java or which -a java reports:
>> /usr/bin/java
>> but this is not what you specify here, it is higher up in the directory
>> hierarchy. Maybe my installation has a different structure?
> It may not be the final location (could be a symlink), but...
>>> 3. Checking 'java -version' works.
>> reports:
>> $java -version
>> java version "1.5.0"
>> gij (GNU libgcj) version 4.3.0 20080428 (Red Hat 4.3.0-8)
> Indicates the Java in your path is GCJ (Gnu Java if you like).
>> this. I still keep firefox-3.5.4, and I found a pervious plugin that I
>> symlink from its plugins directory, which looks like this:
>> lrwxrwxrwx 1 root root    76 2011-10-09 12:21 ->
>> /usr/lib/jvm/java-1.6.0-sun-
>> -rwxr-xr-x 1 root root 15824 2009-10-16 18:02
>> [par at localhost plugins]$
> This is, I think, an earlier and different install of Sun Java to the
> one above. Which would explain why it may not have the new-style
> mozilla plugin. Whatever you do don't remove this one as it's the one
> you're relying on for banking.
>> I also discovered something else:
>> The java in /usr/java/jre1.6.0_27/bin/ responded like this when I tried
>> to start it:
>> [par at localhost bin]$ ./java
>> Error occurred during initialization of VM
>> java/lang/NoClassDefFoundError: java/lang/Object
> Indicates the /usr/java/jre1.6.0_27 Java is broken. I think getting
> the icedtea plugin working as Deepak suggests is probably your best
> bet. This actually means you'll have 4 Java installed, but that
> shouldn't be a problem. Next best solution is retry the installation
> for /usr/java/jre1.6.0_27 and make sure you didn't miss anything out,
> the plugin is failing because the Java in that location is broken.
I think jre1.6.0_27 is the most recent java, this is what the sun 
website offers as the newest for download.
I am at present trying to retrieve IcedTea, but there are problems in 
downloading it. So far, no success.


More information about the users mailing list