On 10 October 2011 10:57, Per Anton Rønning <pa-ronn@xxxxxxxxx> wrote: > Ian Malone wrote: >> On 8 October 2011 09:05, Heinz Diehl <htd@xxxxxxxxxx> 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/libnpjp2.so ?) and is not a copy or >> pointing to a copy. > > Hi Ian: > the libnpjp2.so in this location is: > -rwxr-xr-x 1 root root 77510 2011-07-19 10:57 libnpjp2.so > 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 libjavaplugin_oji.so -> > /usr/lib/jvm/java-1.6.0-sun-1.6.0.6/jre/plugin/i386/ns7/libjavaplugin_oji.so > -rwxr-xr-x 1 root root 15824 2009-10-16 18:02 libnullplugin.so > [par@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@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. -- imalone -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines