• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Problem un installing java version

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello..

Please forgive me if am posting this topic in a wrong forum.
but i didnt find any suitable place to post it.

My problem is...am not able to uninstall java from my machine. ( i wanted to install a new version).

i am using windows vista.

what i did is...

first of all i deleted the java files from "program files" . there was 4 folders for 2 for jdk and 2 for JRE. ( firstly i installed the new version on top of old version. old version was from publisher "sun" and new version was from publisher "oracle")

went control panel and uninstalled java... but the new version not getting uninstalled properly...means a program with name"java" is still exists in control panel....old version uninstalled successfully

even i am not able to uninstall it using safe mode.

i tried deleting registry too..

now in programs.. i can see a program "java" while clicking on this ,i will get a message 'application not found"

I am not able to re install the new vesion with exe.

Please help me....


 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You shouldn't have deleted it by hand first; the normal way to de-install software is to go to Control Panel, to the list of software, and de-install it there.

In Windows Vista, in the list of software, can't you right-click and remove the entry from the list? Or doesn't Windows ask you to remove it, because it notices the software isn't on your system anymore?
 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ya issue is you deleteed it manually ,so now you are unable to delete it from control panel,

you can install new version it will cause any issue while installting it .
 
Manjusha Muraleedas
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In control panel, an entry for "java" is there, but uninstall button is not active for java programs... for all other programs it is active.

While trying to install the program again by running the exe, it is showing a dialog box
" The program is already installed in your computer . Do you want to reinstall it?"
when i click 'yes' it will show the "removing..." dialog box for some time . after this it will again show the dialog box
" The program is already installed in your computer . Do you want to reinstall it?" this process continues recursively. i did this n times...

On searching the net i found the uninstall clean up softwares...is that useful?

 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
.....

Yes same issue i faced ..but it ddnot went in recursive ...just installed it even it says "Already Installed" , I did same ..

And you are seeing that ICON disabled bCz it fails to find file require to deinstall it , which you removed manually

 
Manjusha Muraleedas
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So what is the solution....??? how did you fix your problem?

 
Sheriff
Posts: 22805
131
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Windows registry still contains references. I see two possible solutions:
1) remove the registry references. This is hard since you don't know which ones to remove, and removing the wrong ones can go terribly wrong.
2) install Java on another machine, copy the files to the folder you manually removed, then try to uninstall again.

In the future, first use Add/Remove Programs to uninstall. Afterwards you can delete anything that's left (like files put into the lib\ext folder).
 
Manjusha Muraleedas
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Rob..

I will try this today evening and let you know the result....
 
Manjusha Muraleedas
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

Thanks for being so helpful...

I just restored the deleted files.
removed the unwanted jdk and jre folders.
ran the exe once again...
edited envirormnent variables
it was successfull,Now its working fine...
 
Hold that thought. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic