Link to home
Start Free TrialLog in
Avatar of jcgreer
jcgreer

asked on

Can I remove old java program files to free disk space

Hello, I have a windows 2000 server that is starting to run a little low on the C: drive.
I was looking around and found 480mb of java installed.
Do I really need every previous version? (I am not sure I actually use java for anything anyway (except for internet explorer))
Can I uninstall and/or erase all but the newest one?

C:\Program Files\Java\
j2re1.4.2_05
jre1.5.0_06
jre1.5.0_08
jre1.5.0_10
jre1.5.0_11
jre1.6.0_01
jre1.6.0_03
jre1.6.0_05

Avatar of callmecheez
callmecheez

I'd guess not.

I can recommend 2 programs to help clear rubbish out of hard drives:

1. Ccleaner:
http://www.ccleaner.com/
- deletes all sorts of unneeded temp files etc.

2. Revo Uninstaller:
 - use this to uninstall your java client.  Then delete the folders.  re-download and install it.

SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
forgot the link to the second one:
http://www.revouninstaller.com/
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Installing cleanup tools is not the way to go in this instance. the uninstaller will work just fine.
Bev is right: Add/remove programs works fine. But, doing that on a couple hundred machines takes a while. Can you tell us how many computers you have to uninstall older versions of Java?

I was looking into this post with scripting information, so I don't have to walk from one machine to another:
http://forum.java.sun.com/thread.jspa?threadID=692662&tstart=30
Avatar of jcgreer

ASKER

Thank you so much for the help.
I did just run the uninstall for all of the previous instances of java, I just was not sure if I could do that.
I do love ccleaner.exe and have never had a problem with it, but I would prefer the windows uninstaller first.
I found another 3gb in the System Volume Information folder using WinDirStat.exe as per the following articles:
For some reason VSS is starting then stopping, I am running Galaxy backup software on this unit.
But this is related and was useful:
https://www.experts-exchange.com/questions/22963458/SysVol-Folder-fills-up-Hard-Drive-due-to-Backup-Exec.html?sfQueryTermInfo=1+2003+fill+folder+inform+server+system+up+volum
http://forums.techarena.in/showthread.php?t=224611
I just stopped the service and it erased the file automatically. So that was easy enough.
Rebooted and it seems fine now.

Thanks!
:-)
Avatar of jcgreer

ASKER

ChiefIT, thanks for the comment and link.
Fortunately I have just two servers to cleanup, but I have noticed the same issue on workstations, so I might look into the script you were researching to cleanup workstations as required.
I have been noticing more and more of this kind of stuff....

Thanks,
Avatar of jcgreer

ASKER

I found this :
--
JavaRa is a simple tool that does a simple job: it removes old and redundant versions of the Java Runtime Environment (JRE).

Usually older versions of programs are removed during the install of new versions but Sun (the owner of Java) has somehow decided not to do this. The result is that a number of different versions of the JRE may exist on your computer. These older versions potentially pose a threat to your sense of security due to the possible vulnerabilities or security holes that may exist in them.

http://prm753.bchea.org/JavaRa.html