Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with java.exe and deleting folders

Status
Not open for further replies.

nigelayen

IS-IT--Management
Apr 12, 2008
3
0
0
TT
Two problems with our Windows 2003 server but I suspect that they may be related. In all cases, I am logged in as Administrator.

I installed JRE6 Update 5 and all went well except java.exe was not installed. I tried to save a copy from another computer and that failed. I renamed java.exe to otherfile.exe and then copy to the server and it copy fine. If I try to rename otherfile.exe to java.exe, there is an error. I open a DOS box and copy otherfile.exe to java.exe and seems to work since there is no error but the file is still missing. It seems that I can copy any .exe file except a file named java.exe. Very strange.

The other problem is that I cannot delete any of the folders under the 'Program Files\Java' folder. I get 'Cannot delete. The directory is not empty'. Sometimes I get 'Cannot delete. Access is denied. Make sure disk is not full or write protected and that file is not in use'.

Is there some policy that controls what can be installed in the 'Program Files' folder? I can delete folders from 'My Documents' just fine. All advice will be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top