• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

can't delete installed folder

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I installed an old version of GlassFish application server. I have uninstalled it and installed a new version in some other directory. For the old version, although I have uninstalled it, the original installed folder c:\GlassFish is still there. SO I tried to delete this folder. However, it can't be completed deleted. Most of the sub folders under "C:\GlassFish" are deleted, but for 'lib" it can't be deleted. Windows XP pops pop up showing "Access denied --- make sure the disk is not full and the file is not being used." Actually nothing is using it (it has been uninstalled already), I tried to open the "property" of the folder and uncheck the "read-only" check-box, it did not help either.

Help me !
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most likely glassfish, or some part of it, is registered as a service and is still running.

Have you rebooted and tried deleting it again?

If that does not work, grab Process Monitor from sysinternals and configure it to monitor the lib directory. I should be able to tell you what process is using the directory, and you can then kill that process.

There is also a slight possibility that your anti-virus software has the directory locked. Happens to me occasionally when deleting software.
 
FY Hsieh
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I restarted PC and I was able to delete it.

Thanks for help.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic