Uninstalling Java 8 from OS X El Captain version 10.11.13

Hi Folks,

I have a mac and I lately upgraded the OS to OS X El Captain version 10.11.13 and my eclipse stopped working. I was supposed to install Java 6 but without knowing properly I stalled Java 8 and I stuck now.  I already used the following command to remove the Java 1.8JDK.

sudo rm -rf jdk1.8.0_25.jdk

But when I try to install the JavaForOSX2014-001.dmg. I still doesnt let me install as it warns there is already a higher version of java that exists. Please suggest.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kalyangkmAuthor Commented:
I have already run that command, but it still says there is a higher version of java in the system.
There were two different versions of the terminal command. Did you try both? Also did you search afterwards for the plug in to make sure it was gone?
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

kalyangkmAuthor Commented:
I couldn't find the plug in when I searched, but still I am not able to install  JavaForOSX2014-001.dmg.
Mark BullockQA EngineerCommented:
Oracle also recommends you run this command:
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane

kalyangkmAuthor Commented:
The issue got fixed without my knowledge and I am not happy about it. But its all good now. Thanks for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.