• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java installation problems  RSS feed

 
Jay Hatch
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recently I uninstalled all Java on my laptop thinking that a fresh install of the most current version would solve some of the problems that I was experiencing. After uninstalling via Add/remove programs in control panel, I went into the programs folder and deleted the "Java" folder thinking that it would be re-created when I re-installed Java, unfortunately the Java setup was unable to create the folder and thus unable to complete setup. When I attempt to create the folder manually in the Programs folder I receice a massage that says: "Cannot create or replace Java: Access is denied.Make sure that disk is not full or write protected and file is not currently in use." As I said before, the Java folder was deleted, can anyone help me figure out why it will not allow me (or the Java setup program) to create a new Java folder in Program Files? Thanks..
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a guess, but if the folder is still in your Recycle bin, empty it out.
 
Rodrigo Tomita
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jay,

I think that the folder will be re-created when you install Java again... here goes my 2 cents: I think some erratic process may be still running and locking your folder (assuming that you are doing everything with administrator privileges). Try logging off (or rebooting) and installing it again.
 
Jay Hatch
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rodrigo Tomita:
Jay,

I think that the folder will be re-created when you install Java again... here goes my 2 cents: I think some erratic process may be still running and locking your folder (assuming that you are doing everything with administrator privileges). Try logging off (or rebooting) and installing it again.


Hi Rodrigo,

Thanks for the quick reply, I tried restarting and re-installing like you said, but it would not even let the setup program create the new Java folder and subsequently aborted the setup process. This idea was actually helpful though as it made me realize that you could change installation folder, so I just created a new folder and named it Jaava and installed to that with no problems. Everything seems to be working fine now, but I am still very curious as to why it would not let me re-create the Java folder..

Thanks,
~J
 
Jay Hatch
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by marc weber:
Just a guess, but if the folder is still in your Recycle bin, empty it out.


Checked and emptied the recycle bin, the folder was not there and still no luck creating the Java folder. Thanks for the suggestion though.

~J
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What operating system is this?
 
Jay Hatch
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by marc weber:
What operating system is this?

It's Windows XP Pro. I was actually finally able to resolve the problem, although I'm still not entirely clear on what caused it in the first place. What I did was I restarted in safe mode and opened the program files folder, in safe mode you could see a Java folder which was not visible when not in safe mode. So I deleted the "Java" folder, uninstalled the previous installation that was installed to the "Jaava" folder I had created, restarted and re-installed Java and the setup program was able to re-create the "Java" folder without any issues. Strange, never seen anything like that before. Thanks to all who helped me out with this, very much appreciated.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jay Hatch:
...I restarted in safe mode and opened the program files folder, in safe mode you could see a Java folder which was not visible when not in safe mode...

I was afraid it was something like this. I don't know what Windows was thinking, but I'm glad you worked it out!
 
Rodrigo Tomita
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jay Hatch:

I was actually finally able to resolve the problem, although I'm still not entirely clear on what caused it in the first place.


Maybe the Java folder was hidden and your Windows Explorer is configured not to show hidden files. In security mode you were able to see and delete it. Anyway, I have no idea why that would happen - and am trying not to make any Windows jokes here .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!