Solved

Can I remove old java program files to free disk space

Posted on 2008-06-15
10
1,831 Views
Last Modified: 2008-06-16
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

0
Comment
Question by:jcgreer
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 3

Expert Comment

by:callmecheez
ID: 21789912
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.

0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 60 total points
ID: 21789913
>>Can I uninstall and/or erase all but the newest one?

Yes. If you're not aware of any special reasons to keep earlier versions, get rid of all but the latest
0
 
LVL 3

Expert Comment

by:callmecheez
ID: 21789916
forgot the link to the second one:
http://www.revouninstaller.com/
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 38

Accepted Solution

by:
ChiefIT earned 65 total points
ID: 21789956
I have removed the older versions with positive results.

I removed them because I was getting 2 or three java updates on various versions per day. Java works and I don't have so many updates to keep up with. I am planning on creating a group policy logon script to remove java once a month and install the latest version.

So, I am interested in what others have to say on this post.
0
 
LVL 19

Expert Comment

by:bevhost
ID: 21789957
Installing cleanup tools is not the way to go in this instance. the uninstaller will work just fine.
0
 
LVL 38

Expert Comment

by:ChiefIT
ID: 21790013
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
0
 

Author Comment

by:jcgreer
ID: 21790127
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:
http://www.experts-exchange.com/Storage/Backup_Restore/Backup_Exec/Q_22963458.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!
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21791590
:-)
0
 

Author Comment

by:jcgreer
ID: 21794003
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,
0
 

Author Comment

by:jcgreer
ID: 21795577
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
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
inplace upgrade from Windows 2003 R2 to 2012 8 73
Auto Login Script 3 40
web application structure 18 77
Convert from a json string array to a Java object 3 31
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question