Ubuntu :: Sun-Java-6-jre Installed But Openjdk Loaded
Oct 28, 2010
I have both the openjdk-6-jre and sun-java6-jre versions of java installed on my Ubuntu Maverick desktop, with the sun version setup as the default. I was trying to load the web page,URL..., an amateur radio software defined receiver. I can load the page on Firefox run on XP in a VirtualBox machine, but when loaded on Firefox on my Maverick desktop, I wasn't getting any sound with openjdk, so I installed sun's and set it as the default. When I run 'java -version' from the command line, it reports the following:Java(TM) SE Runtime Environment (build 1.6.0_22-b04)Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)but on firefox, when loading the above page, it reports 'java version test applet 1.6.0_20' on the page. How do I get sun's version to run? I need to get the sound to work.
Last nights upgrade of java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 and java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 prevent the loading of Ameritrades Command Center.Downgrading to version 1.6.0.0-37 fixes the problem. I'll post the bugzilla number as soon as I get the chance to file it.
how do I uninstall Java? Tried with Synaptic and apt-get remove, but uninstalling sun-java6 automatically adds default-jre (openjdk) and uninstalling openJdk automatically installs sun-java ... but I don't want ANY Java on my machine - am I missing something? Already thought I maybe have a package that requires SOME kind of Java, but how do I find out?
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?
update-alternatives: error: no alternatives for xulrunner-1.9-javaplugin.so. update-alternatives: error: alternative /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so for mozilla-javaplugin.so not registered, not setting.
I thought java was opensourced, yet the Cisco ASDM (which is java based) is completely unuseable when using openjava. When I use the version from java.com, everything works as expected, including the browser plugin.
Much as I enjoy having openjdk available, some things just don't work with it. So for those things, I need to use the sun version of java. I currently have openjdk installed from F11 yum. I'd like to install the sun java rpm and be able to tell the alternatives(8) system to switch between the two as I need to. How to configure alternatives(8) to do that?
Is the OpenJDK web plugin the only option for java web plugins? I uninstalled it to run the Sun JDK Update 18, but now I can't find another web plugin.
I'm trying to install Open Rocket : [URL]. I don't think I have java installed. I went to software center and tried to install "OpenJDK Java 6 runtime" and it says package dependencies cannot be resolved. I tried doing sudo apt-get install through terminal and it was dependent on a long list of things:
see the released of Mozilla Firefox 3.6. However, it seems that Firefox 3.6 does not like current OpenJDK Java plugin installed by Fedora 12. (IT SUPPORTS NOW SEE SOLUTION BELOW) A little google turned out that in this release Firefox dropped the old Open Java Integration mechanism, which is currently being used by OpenJDK Java plugin. [Code] Now I have to manually install the JRE from Sun to get Java plugin in Firefox 3.6.
Is there any plan for OpenJDK to catch up with this change of Java plugin? I hope the Firefox 3.6 shipped with Fedora 13 could have OpenJDK Java plugin support.
Yes, OpenJDK did have plan for the new java plugin. Actually it arrived with IcedTea B17 (Alpha version, of course). However, the new plugin support is only enabled in Fedora 13 build config. Now our task is simple, upgrade the OpenJDK to Fedora 13 build in rawhide, like what we have done to Firefox.
[Code]....
Reboot your Firefox 3.6 and it's done. I have tested with Citrix java client and RuneScape. Citix works fine, but the RuneScape crashed with my Compiz. Switch off Compiz and the RuneScape works fine, too. It is not a big deal for me since I do not play RuneScape. So basically it WORKS.
I have fedora 13 64bit box. I have installed latest Sun JDk. But when I do: java -version I still got OpenJDK version. So I completely removed OpendJDK. But now when I do: java -version I get even older GNU java 1.5 something libgcj. So I completely removed that too but it was asking to remove bunch of dependent apps like OpenOffice Writer etc. Even though I need the writer, I let it go because I do not want ever to see the face of any GNU java on my linux. So everything related to GNU java is removed. Luckily I am able to start Eclipse and it works fine and start normally (apparently using the installed Sun JDK which is what I want). But now when I do java -version I get bash: /usr/bin/java: No such file or directoy
Now what I need to do so that when I open any terminal window and enter java -version I should get Sun JDK version? Sun JDK is installed in /usr/java/jdk1.6.021. I also have symlinks: /usr/java/latest and /usr/java/defaults pointing to sun jdk.
I have installed latest Sun JDk. But when I do: java -version I still got OpenJDK version. So I completely removed OpenJDK. But now when I do:
java -version I get even older GNU java 1.5 something libgcj. So I completely removed that too but it was asking to remove bunch of dependent apps like OpenOffice.org Writer etc. Even though I need the writer, I let it go because I do not want ever to see the face of any GNU java on my linux. So everything related to GNU java is removed. Luckily I am able to start Eclipse and it works fine and start normally (apparently using the installed Sun JDK which is what I want). But now when I run
java -version I get bash: /usr/bin/java: No such file or directory Now what I need to do so that when I open any terminal window and enter java -version I should get Sun JDK version? Sun JDK is installed in /usr/java/jdk1.6.021. I also have symlinks: /usr/java/latest and /usr/java/defaults pointing to sun jdk.
As suggested in the answer, I tried the alternatives command but it did nothing. I type the --display, nothing is shown, and --config does nothing.
OpenJDK has recently updated. Problem is that I am using the JDK from Sun/Oracle which I downloaded and installed along with other java tools and IDE's. I notice that openJDK is now the default JDK on the system.
java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.4) (6b20-1.9.4-0ubuntu1~10.04.1) OpenJDK Server VM (build 19.0-b09, mixed mode)
Now my own java build is configured in $PATH but ignored, this is not good as I do a lot of java development. I would like to disable the OpenJDK or even remove it. I would also like to disable the update manager for this particular package and it's other add ons.
I'm new to Java. I'm trying to use some dynamically loaded classes in my application. The application doesn't know those classes , Just it try to load a class by name that its name came from input. It doesn't know class (So I can't use casting) but just needs to call some methods of that class (every class should have that methods). I thought about interfaces but I don't know how. How can I call those methods?
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.
i found this quote: WPA/WPA2 are broken in every module everybody has tried (AFAIK) since Adam's 1.7.1.1 DKMS driver. Downgrade like so: 1) Get the driver from [URL]... 2) Go to terminal, and move the pre-installed driver so it won't get loaded. cd /lib/modules/2.6.28-11-generic/kernel/drivers/staging/rt2860/ sudo mv rt2860sta.ko rt2860sta.bak. 3) Install rt2860-dkms_1.7.1.1_all.deb. It will also install dependencies needed to compile the driver. If it doesn't retrieve the right packages, make sure "build-essential", "linux-header-generic" and "dkms" is installed. Let it run and it should complete without a problem. 4) Restart. The new driver should work automatically. the deb file gives me an error.
I recently installed gtk+ for java on gnome. via sudo apt-get install libjava-gnome-java and after the installation i went to net beans, open it up and typed: import org.gnome.gdk.Event; I got a red line under the org part and a yellow line through out, meaning its an unused import. the red part is what I am concerned about: the error message is as states - pakage import org.gnome.gdk.Event; does not exist. but it has too because i installed the required packages from [URL]
I installed Ubuntu having one IDE HDD and I didnt' make any partitions. Bootloader couldn't install, and I continued without installing it. After this, I plugged in a sec HDD SATA.To install grub I followed what Saikee suggested:
I am a new user of ubuntu 10.04. I installed the above version to a pc at my work and i 'm trying to make it work with a program we use through explorer (Firefox/Internet Explorer) and uses java. I managed through search to install and use as default java 1.6.0_20 but when i 'm trying to use the tab of the program. It appears a message that says
"Error. Click here for details." Details -> The application failed to run. Details-> [Log File] Java Plug-in 1.6.0_20 Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM
if there is someone who asked the same question, but I have the Ubuntu 10.10 net-book remix version, and every time that I go to try to download and install the Java applet, it will download Ok (I think), but when I try to open the file, there are no errors, but it won't open. When I try to re-download, it does nothing again.
i can't get java installed and its starting to drive me nuts, i really hate bin files why cant they make it a deb file, but back to the question i follow the instructions [URL] and i still don't get it
o and if it matters I'm using Google Chrome so there isn't a plugin like Mozilla Firefox
I had just downloaded and installed Ubuntu. I had to manually install the Software Center. So I did that and installed a bunch of things including OpenJDK and its browser plugins. OpenJDK caused trouble in a game I play, so I installed Sun instead. However, that's the old version. I followed the above instructions, removed the old verisons and attempted to install the plugins. But unless I use the Software Center, it doesn't work. I'm cutting and pasting exactly and nothing shows up in my aboutlugin screen.
and I've been using windows alone until now. There is something I don't quite understand in ubuntu and that is where do you install programs (something similar to the Program Files folder in Windows perhaps) and is there something similar to registry, because I installed JDK from a downloaded binary and when I installed Netbeans it didn't see the Java installation, and where exactly are the system files?
The output of dpkg --get-selections | grep java on Karmic Koala is ca-certificates-javainstall java-commoninstall libaccess-bridge-javainstall libaccess-bridge-java-jniinstall sun-java6-bininstall sun-java6-jreinstall tzdata-javainstall
Yet when I go to a site like keepvid.com and enter a valid URL I get: Error: Please click here to download Java. If you already have Java, please restart your browser and try again. It appears you do not have Java installed or it is disabled on your system. You can get Java here. If you are still having difficulty with Java, check here for installing Java, or here for detailed instructions on enabling Java in your browser.
downloaded the java .bin file from the website and made it excutable and ran in terminal... i got the 'done' message at the end of installation, so i restarted Firefox and verified if i had java. well, i got that message talking about missing plugins... i clicked it and click get missing plugins, It didn't find java on my computer!