Slackware :: Installing Java Error - When Trying To Run A Java App With The Firefox Plugin - Browser Crashe
May 29, 2011
Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object
That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.
I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.
I have an openvz vps and it has a vps admin panel from solusvm for administration.In the vps admin panel is a console (Java), but mine looks like the picture below.I checked in firefox and thought maybe there was something wrong with my java plugin. Everywhere I look I see different instructions with different directories and it was confusing.So I said just do it like slackware and I got the slackware64-current/source/local/jre directory and build jre-6u25xx86_64-1.txz from jre.SlackBuild and then upgradepkg --install-new --verbose jre-6u20-x86_64-1%jre-6u25-x86_64-1.txzI hope I didn't break my slackware.Before I did that, I disabled my flash plugin in firefox according to some instructions before upgrading jre.Then I went to my vps control solusvm vps control panel and went to console. Nothing.Then I remembered I disabled my flash plugin in firefox. so I enabled it. It's works again. I get the same error as in the picture all over again.So if that doesn't make my vps control panel work, what do I need to do to make it work? I tried in windows and it had to install the flasplayer plugin before it worked - Are there more than one flashplayer plugins?
I use openSUSE 11.4 64 bits, KDE and FireFox 5.0. I regularly update. When trying to reach my bank, I get the following error: Code: icedteanp plugin error: Failed to run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java. For more detail rerun "firefox -g" in a terminal window. Is there anything I can do to remediate ? Does IcedTea everything that Java does?
I keep reading on the web about how there is now a 64 bit plugin and even saw Eric state in the Slackware 64 thread that there was a plugin for x86_64...
Where does this plugin reside?
I'm seeing a ./lib/amd64/libjavaplugin_jni.so but that gives me nothing with "about:config"
I've got a 64 bit flash plugin.... Just need a java one and I'll be set as far as the web goes..
I try to install the java plugin but the java test pages show not installed. I have tried the openjdk-6-jdk package and the Oracle/Sun 1.6.0_26 version to no avail.
Is there some good instructions page someplace? I have yet to find a set of instructions that provides something clear that works.
Has anyone here gotten the Sun Java plugin (1.6.0_20) working in Firefox under F13? I'm using the Firefox 3.6.3-4 RPM supplied by F13, and I created the link in /usr/lib/mozilla/plugins to ${JAVA_HOME}/jre/plugin/i386/ns7/libjavaplugin_oji.so as I've always done, but the plugin fails to show up when I check the plugins in Firefox. I installed some other plugins in /usr/lib/mozilla/plugins and they work fine, only Java doesn't work. It's weird because I've never had a problem getting the Java plugin to work in Firefox before this, and I've done it a million times.
I don't have the Fedora-supplied java packages installed, so it's not a issue of conflicting plugins. And the plugin does work in Opera. I also tried the 1.6.0_18 plugin from Sun, and that didn't work in Firefox either, though it works in F11. I can't figure out what's causing this just in F13. So far this is the only problem I've had in F13, everything else has worked great.
I recently found out that my Firefox 4 plugin for Java is not working. My problem is that i have Java installed (unfortunately I found out that I accidentally installed the Sun Java and not the OpenJDK) and it is working, but the plugin just refuses to work.
However it should be installed because of the following output:
Code:
So I thought that maybe the wrong Java version is used, but it doesn't seem to be so:
Code:
There are 4 programs which provide 'java'.
So in theory OpenJDK should be selected and work with Firefox, unfortunately it doesn't.
I opened Firefox, and tried to use an Internet speed tester that requires Java. I've always used this with no problems. Today, I'm having problems with it. It told me to check that my Java plugin was enabled, or whatnot. I looked at Tools > Add-Ons > Plugins, and found that Java is gone....
What's up with that? I'm using the latest version of Firefox (version 3.6.8 / Mozilla Firefox for Ubuntu cononical - 1.0) on Ubuntu 9.10.
I checked with Synaptic Package Manager, and I found sun-java6-jre, and all of it's related packages, openjdk-6jre-* packages, etc. were installed (over ten packages with 'java' or 'jre' and '6' in the package names).
So, I don't understand why Tools > Add-Ons > Plugins doesn't show my java plugin anymore. I also checked about: plugins (had to put a space between the colon and 'plugins' because a smiley shows up aboutlugins), but there was nothing in there about java either.
What's going on? Has Ubuntu decided it doesn't want to use Java (I remember reading something about Oracle changing the license for Sun Java somewhere)? Or is this a fluke?
Either way. Synaptic Package Manager says Java is installed... So, what else do I need to do to fix this? I read other posts about Firefox and Java, but they were about installing java, and the like, and I have Java installed....
At first, I enabled the partner source and installed "sun-java6-plugin", as that was listed in an earlier Ubuntu install's package list. But Firefox does not see this plugin (even after a reboot). So I removed that package and its friends, and installed "icedtea6-plugin" as found on [url], but this does not work, either. This is with Ubuntu 10.10 for i386 on an ASUS Eee PC 900.
How to get a Java plugin working? I know I've had it working before without having to do anything like this. But that could have been an earlier version of Firefox. Could Firefox now be broken? Or could they have blocked Java, now?
I am trying out the RHEL6 x86_64 beta. My question is how do I install the Java plugin for Firefox. OpenJDK appears to be installed, but there is no Firefox plugin for it in the "Add/Remove Software" program. I am not part of the RHN. Is it only in the RHN repos?
I have installed a fresh fedora 13. I was trying to install Sun Java so I just followed the instruction given here. everything went al-right and I am now able to open Java applications. The problem is that I can't get the Firefox Java plugin to work! I have tried many things but Firefox doesn't even show the plugin in the about: plugins page.My Firefox version is 3.6.3 and I am using java version 6 update 20.
I downloaded java file from the official site and installed it successfully, but the plug isn't working yet! i can't figure out the missing step after the installation!
how to run a java application on a 64 bit Firefox install on Fedora, but I didn't find any simple and direct way to do it. So I'll post this here, hoping that people who search for this problem can easily find this really quick solution.
1-> on the terminal do the usual su - 2-> yum install jre 3.> make a link in /home/your_name/.mozilla/plugins/ folder to the file located at /usr/java/jre1.6.0_23/lib/amd64/libnpjp2.so (just select the file, press ctrl+shift and drag it to the plugins folder) 4-> go to http://java.com/en/download/installed.jsp from firefox and test your install
Piece of cake, but it doesn't show up in search engines that easily when I look for: jre firefox 64 plugin fedora Granted that many tutorials mention the linking method, but most either tell you to install the binary/rpm from the java site or even installing the 32bit version for older fedoras... yum makes it so much easier.
I have Ubuntu Karmic x32 and the Firefox version from the Mozilla Launchpad ppa, and Firefox isn't detecting the java plugin at all. As in, it's not even being listed in the plugins manager. What should I do? If I need to give any more details about my system,
My Java plugin is not loading on Firefox. I need it to load, but FF doesn't even recognize Java is installed. It works on Google Chrome (which would be nice... except the plugin is buggy there)
Here's the background * I'm running Firefox 3.6.3, through the repository on Code: [URL] * My process list includes: Code: 23679 ? 00:00:00 firefox 23688 ? 00:07:31 firefox-bin * I run NoScript, but I've had it work before w/NoScript, and everything is currently allowed. I'm fairly sure it has rather to do with FF 3.6.3. * My about.config settings:
Code: java.default_java_location_others;/usr/java java.default_java_location_solaris;/usr/j2se java.global_java_version_file;/etc/.java/versions java.java_plugin_library_name;javaplugin_oji * My directory settings:
Code: patrick@patrick-laptop:/usr/lib/jvm$ ls java-6-sun java-6-sun-1.6.0.15
I am unable to install and enable Java plugin for the firefox web browser. I have already installed open jdk. I also tried to install jre 6. But nothing worked..
I have both firefox-3.0.18 and java installed on my RHEL5 64-bit system. But for some reasons, java plugin is not working in firefox. $va -versionjava version "1.6.0_18"Java(TM) SE Runtime Environment (build 1.6.0_18-b07)Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)As per previous recommendation from this forum, I made soft link for libjavaplugin_jni.so in firefox/plugins directory.
I have FireFox 4, and JRE 6_25, and G3 (dunnow if that's the problem). As described in the docs, I'm supposed to make a symlink to the plugin. The about : plugins keeps reporting File: libnpjp2.so as file, not the plugin.I just reinstalled 6_21 (the one I know works) and have successfully made a symlink, but FireFox refuses to accept the link.The applets do not have sound - tested with RuneScape and the Bells applet, no sound, but there is the music in RuneScape...
I have tried everything I can think of to get the Java plugin working on Centos 5.5 and Firefox.I'm using the sun version of Java that I downloaded: jdk-6u18-linux-i586.rpm
I do have it installed already on a seperate partition that survives OS upgrades. Do I need to have the same version of Java in my alternatives dir, or will the Java browser plugin work regardless of which Java is installed on the system? Another way of expressing this: Is the Java browser plugin a standalone application that works independently of the system-installed Java version, or does the browser plugin rely on the installed JRE to function? So I have made a symbolic link from /usr/lib/mozilla/plugins/@libjavaplugin_oji.so
There are actually 2 versions of the Java plugin - which one should I be using?
/ns7 /ns7-gcc29
I take it it's the non-gcc29 version? When I restart Firefox nothing is showing in the about :plugins window.I have disabled all the other mozilla plugins, just in case they are stopping the the Java plugin from loading.
I 'am trying to install Java on fedora but I 'am stuck a this line on this tutorial [URL]. Use spacebar to read the agreement. At the end type yes to proceed with the installation. To make Firefox use the installed plugin type: su -c 'yum remove java-*-openjdk-plugin' su -c 'ln -s /opt/jre1.6.0_14/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so'
Restart Firefox and Tools -> Addons -> Plugins. If the plugin was successfully installed you should see Java(TM) Plug-in among the plugins. Now, if you also want to run java programs using Sun's java type in a console:
My shell [root@shadow ~]# ln -s /opt/jrel.6.0_16/plugin/i386/ns7/libjavaplugin_oji.so > /usr/lib/mozilla/plugins/libjavaplugin_oji.so You have mail in /var/spool/mail/root [root@shadow ~]# ln -s /opt/jrel.6.0_16/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so ln: creating symbolic link `/usr/lib/mozilla/plugins/libjavaplugin_oji.so': File exists After restart Firefox i don't see any new plugin. ?