General :: Removing All Traces Of GNU Java And Openjdk And Replacing With Sun JDK

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


ADVERTISEMENT

Fedora :: Remove All Traces Of GNU Java And Openjdk And Replace With Sun JDK?

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

Fedora :: 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?

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

Debian :: Uninstalling Sun-java6 Automatically Adds Default-jre (openjdk) And OpenJdk Automatically Installs Sun-java

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

Ubuntu :: Removing All Traces Of Browsing History From Computer

Dec 27, 2010

I have the vlc media player plugin which lets me open up videos in my browser instead of having to download them. Sadly, this plugin is very buggy and makes videos freeze sometimes. This happened to me while watching a video and I right clicked it to see if I can save it to my hard drive from there. I saw an option to "Open in Movie Player" so I did, and it played the video perfectly. I shut down my computer and turned it back on later, and when I opened up Movie Player, under File>, the videos still show up, and I can play them. I tried removing all browsing history from Google Chrome and checked my flash video settings (removed all sites and cookies) but the videos still show up in Movie Player. Also tried emptying the temp folder. Is there any way I can get these videos off my computer?!?!

View 9 Replies View Related

OpenSUSE :: FireFox 5.0 - With IcedTea - Plugin Error: "Failed To Run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java"

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

Ubuntu :: Which Java - OpenJDK Or Sun Java ?

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

Ubuntu :: Using Sun Java Instead Of Openjdk?

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

Fedora :: Openjdk Useless Compared To The One From Java.com?

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

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 View Related

Fedora :: How To Compile Java Programs Using OpenJDK

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

Fedora :: Cannot Find Another Java Web Plugin (OpenJDK)

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

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.

View 4 Replies View Related

Fedora :: Firefox 3.6 And Change OpenJDK Java Plugin?

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

Ubuntu :: OpenJDK Java 6 Runtime - Package Dependencies Cannot Be Resolved

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

Ubuntu :: Disable The OpenJDK Or Remove OpenJDK

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

Programming :: Replacing The File In .Jar - Java.lang.NoClassDefFoundError Exception At Main Class

Jul 21, 2010

working on a script to update .Jar file, I have tried jar xf to unpack and jar cf to repack it is giving me java.lang.NoClassDefFoundError exception at main class. I also tried jar uf, which is also not working for me Basically my jar file requires to update date, which i do from "winrar" Manual it works fine, but now to remove "Donkey work", i want to make an script which does this all automatically, and the last stage is to update jar file which is not happening.

View 1 Replies View Related

Ubuntu :: Removing Sun-java Downloaded Via .bin File?

Oct 28, 2010

didn't realise sun-java was in the repo so i downloaded via the java site and installed using their .bin file.So my question is how do i go about removing it?

View 3 Replies View Related

Ubuntu :: Remove Firefox Without Removing Java Plugin?

Jun 5, 2010

I'm on 9.10 x64 gnome.I hate firefox and want to remove it because I use chrome,but when I try to remove it it removes the java plugin.And when I try to install the java plugin alone, it installs firefox. Why are these dependencies of each other? Is there any way that I can remove ff without removing java?

View 7 Replies View Related

General :: Script Or Command To Find And Remove All KDE Traces From /usr/bin/?

May 2, 2011

1. Find everything that belongs to KDE in /usr/bin/

2. Show me what it is

3. (Give me an option to) delete it

A note about what did not remove mentioned;

Code:

apt-get remove kde --purge
apt-get autoremove

View 1 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found

View 4 Replies View Related

General :: Configure Applet Plugin For OpenJDK In Firefox ?

Jul 10, 2010

I am using Kubuntu 10.04 with Firefox 3.6 from Mozilla's website and I use OpenJDK from the Ubuntu repsitories.I want to know how do I configure OpenJDK with the Firefox to view Java applets in the browser.

View 1 Replies View Related

General :: Enter The Command Java -version It Shows Java Is Not Found?

Jan 19, 2010

Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.

first of all why its not working from any other place? also why do I need to give ./ from the folder?

View 3 Replies View Related

Software :: Can't Get Rid Of All Traces Of Firefox / Why Is So?

Nov 17, 2010

Can't get rid of all traces of Firefox & download & reinstall it anew?
I'll be able to download Firefox via Opera.
I use Opera as a backup browser.

View 6 Replies View Related

General :: Java JRE Installed So End-users Don't Have To Install It To Run Java Applications?

Jan 29, 2010

Do Windows XP, Vista, Windows 7 and all Linux distributions have Java JRE installed so end-users don't have to install it to run Java applications?

View 4 Replies View Related

OpenSUSE :: How To Remove All Traces Of Firefox

Feb 2, 2011

I installed an addon on Firefox, which i am not completely sure it is safe. (Name of the addon is Ivacy, you can google it, it's to use a VPN) Anyway, i thought that maybe that addon could install a keylogger or something. So I uninstalled it, and then I thought, what if it infected firefox? (I know i am paranoid) So i uninstalled firefox by using Yast, then reinstalled it, and my previous addons and history were still there. For me it means that uninstalling by Yast does not remove all traces of Firefox. Please do you have a way to remove all traces of Firefox? As i told you previously, I'm new to Linux, do you think that there is a risk for my PC when I install Firefox addons?

View 8 Replies View Related

Ubuntu :: Remove All Traces Of Wine?

Aug 22, 2010

How do I remove all traces of Wine? I have installed Ubuntu 8.04 - suits my hardware - and imported settings from Mint5 which included a non working reference to wine and MS Money. I wish to delete all traces of Wine and reinstall.

View 3 Replies View Related

Ubuntu :: Remove All Traces Of Grub ?

Apr 20, 2011

The other day I repartitioned the drive I had ubuntu on and today I go to start my computer and I get a grub rescue prompt. I tried the MBR fix on the vista install CD, but that didn't work. I'm basicly stuck on this liveCD until I can get this fixed.

View 1 Replies View Related

Red Hat / Fedora :: Getting Hard-disk Traces ?

Oct 1, 2010

When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme "

View 5 Replies View Related

OpenSUSE Hardware :: NVidia Old Driver Traces ?

Jan 13, 2010

I tried it on my machine, just for lols, and was surprised at the result. I have nVidia driver 195.22 installed the "hard" way (We really should stop calling it that, it is simple pimples!) but:

Code:

Or leave them alone?

Code:

Code:

Code:

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved