Fedora :: F11 - Use Alternatives To Switch Between OpenJDK And Sun Java
Nov 12, 2009
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?
View 3 Replies
ADVERTISEMENT
Oct 21, 2010
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.
View 3 Replies
View Related
Nov 4, 2010
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?
View 2 Replies
View Related
Sep 27, 2009
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.
View 14 Replies
View Related
Dec 16, 2009
Tell me how to compile and run java programs using openJDK on fedora 11
i have gcc installed
View 6 Replies
View Related
Feb 18, 2010
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.
View 1 Replies
View Related
Jan 22, 2010
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.
View 14 Replies
View Related
Mar 20, 2011
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.
View 5 Replies
View Related
Jul 10, 2011
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?
View 4 Replies
View Related
Aug 26, 2010
If I want to install Java on Ubuntu: which Java version should I take?
OpenJDK or Sun Java ?
What is mostly used on Ubuntu?
What are the pros and cons?
View 1 Replies
View Related
Jun 13, 2010
i want to use sun java but i am getting this error
Quote: sudo update-java-alternatives -s java-6-sun
Quote:
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.
View 3 Replies
View Related
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.
View 4 Replies
View Related
Mar 20, 2011
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.
View 1 Replies
View Related
Aug 26, 2010
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:
openjdk-6-jre
openjdk-6-jre-headless
tzdata-java
tzdata
I tried to sudo apt-get each one and it led me down the list like that to a dead end.
View 6 Replies
View Related
Nov 26, 2010
I have the following in /usr/java :
[root@jonas java]# ls -l
total 40668
lrwxrwxrwx. 1 root root 16 2010-11-26 15:45 default -> /usr/java/latest
drwxr-xr-x. 7 root root 4096 2010-11-26 15:44 jre1.6.0_22
-rw-r--r--. 1 root root 20946625 2010-09-15 12:42 jre-6u22-linux-i586.rpm
[Code].....
Enter to keep the current selection[+], or type selection number:
How can I run java jre-6u22 ?
View 3 Replies
View Related
May 12, 2011
So I was using Minecraft and it was working just fine, but then I got a rather common error. The fix is always to switch over to java sun. I did this, but now it has a black screen when I start the game. I realized after this that I hadn't tried simply reinstalling minecraft. reinstalling it did not fix the new problem. Can anyone tell me either how to switch back to jdk or how to fix the black screen?
View 3 Replies
View Related
May 30, 2010
I've opensuse 11.2 and I have all java packages installed, but Java Plugin for firefox doesn't work.I'm getting this error:
Code:
[B]gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java. For more detail rerun "firefox -g" in a terminal window.
Code:
upiter@linux-yalp:~> firefox -g
upiter@linux-yalp:~> gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java. For more detail rerun "firefox -g" in a terminal window.
View 9 Replies
View Related
May 17, 2010
I keep getting this error message, I did a search and didn't find a solution to my Java browser problems gcjwebplugin error: Failed to run /etc/alternatives/../../bin/java. For more detail rerun "firefox -g" in a terminal window.
System: openSUSE 11.2 (i586)
KDE: 4.3.5 (KDE 4.3.5) "release 0"
Firefox version 3.5.9
View 9 Replies
View Related
May 3, 2011
When working in an XP VirtualBox I can't use Alt-Tab to switch to my Linux Apps as VirtualBox captures the keys for Windows. So I tended to make a lot of use on the Application list on the old System Tray/Taskbar. I could click on the application's entry in the taskbar and that application would come up. When I needed to return to the Windows App, I clicked again and the application would then minimise so I can see the Windows app. Also I have been using the SUPER button in conjunction with 'E' to raise the Home Directory (just to keep it consistent with Windows).
View 5 Replies
View Related
Feb 1, 2011
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.
View 2 Replies
View Related
Mar 3, 2010
I'm using a 64-bit machine, and naturally everything is based on the 64-bit. However I need to get the Juniper Network Connection running, which only works for 32-bit java. How should I download the 32-bit java so that it won't interfere with other application using 64-bit java, and set the PATH so that the 32-bit java is used when I use Juniper Network.
View 2 Replies
View Related
Sep 20, 2010
I've only gone into the first case statement of the first switch and I am trying to get out of it but the break statement I added doesn't seem to have any effect and it just goes on to the next case instead of exiting the switch.
Code:
import java.util.*;
import javax.swing.*;
public class A2 {
public static void main(String[] args) {
double gross_Pay;
int payment_Method;
final double salary_Pay = 1000.00;
final double hourly_Pay = 25.00;
double overtime1 = 20.00;
double overtime2 = 30.00; .....
View 2 Replies
View Related
Sep 8, 2011
I just installed F 15. I have a Java app that I use a lot that is buggy with OpenJDK 6, because OpenJDK 6 is buggy, and apparently it needs OpenJDK 7 to run smoothly. Is there an RPM for OpenJDK 7 somewhere? I haven't been able to find it if it exists.
I also need ffmepg but have been unable to find a RPM for it either I did try to build ffmepg form source but it wouldn't build because it was missing Git what ever that is, which in turn I couldn't find a package for. I'm trying to avoid going on a scavenger hunt to get this installed and that's why I'm looking for an RPM.
If OpenJDK7 and ffmepg do not have RPMs for F 15 what are my best options?
View 1 Replies
View Related
Mar 30, 2011
I still can't get Firefox 4 to work with BankID on my 11.4 x86_84 installations using the default IcedT Java plugin (java-1_6_0-openjdk-plugin-1.6.0.0_b20.1.9.7-1.2.1.x86_64), I've added the java-1_6_0-sun-plugin-1.6.0.u24-1.2.1.x86_64 package to try this instead. But how to enable the Sun Java plugin as default in Firefox 4?
View 6 Replies
View Related
May 14, 2010
I've installed the newly released OpenJDK which includes the updated NPPlugin that's compatible with Firefox 3.6. However the CPU usage is abysmal. I'm seeing 80-100% by the java component. How I installed it and removed the previous Sun Java workaround is listed here.
View 3 Replies
View Related
Mar 13, 2010
I have compiled the OpenJDK with NPPlugin support for fedora 12. It works very well in Firefox 3.6. I would like to share it with you. Download the RPMs from the output of koji and run: #yum localinstall java-1.6.0-openjdk* It will upgrade your openjdk. The plugin can be used in Firefox 3.6 in both remi's rpm or F13's firefox,
[Code].....
View 1 Replies
View Related
Jun 11, 2010
Last nights updates of: java-1.6.0-openjdk-1.6.0.0-39.b18.fc13.i686 and java-1.6.0-openjdk-plugin-1.6.0.0-39.b18.fc13.i686 no longer work with Ameritrade Command Center. I was really happy when OpenJDK got to a point where I didn't have to install Sun's Java, and it has been working great for quite a few months now, but today, when trying to bring up Command Center, it's telling me that there is a missing plugin, then points me to the Sun Java site. This is when using Firefox or Chrome. It may just be the plugin or the way it's positioned, so, hopefully this weekend I'll get time to investigate a little further. If not I'll downgrade to the previous version. <sigh> I really didn't want to install Sun's Java on my F13 boxes.
View 13 Replies
View Related
May 3, 2011
I installed openjdk version of Java using yum what is the openjdk Home directory?
Is there a command to find it?
View 10 Replies
View Related
Jun 24, 2011
F15 running on my Dell Latitude 505 laptop. During installation (last week) I got "Gnome3 not fully supported - using fallback mode". I found out later that my Intel 855 video doesn't support 3D, which Gnome3 requires.
System seems to run fine and boots into fallback video. But I'd sure like to have access to my "desktop" so I can drag and drop folders, etc. there. Currently I now have to open the Desktop folder, and then drag and drop, etc. And without an "active" desktop screen, added devices (external drives, cameras, etc.) don't show up unless I open the Desktop folder. Is there an alternative to Gnome3 I can install? I assume without the need for 3D which my Intel video 855 doesn't support.
If there's an alternative or two, could someone point me to exactly how to install them? If there's a more appropriate forum here for this request,
View 14 Replies
View Related
Feb 18, 2010
Is any alternative for (deskshell(XC) -- syntax and control constructs of the Deskshell command language) in fedora.It was using in sco unix.
View 2 Replies
View Related