aspose file tools
The moose likes Java in General and the fly likes Java 6 Posing Trouble Win XP Profile Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Java 6 Posing Trouble Win XP Profile" Watch "Java 6 Posing Trouble Win XP Profile" New topic
Author

Java 6 Posing Trouble Win XP Profile

Jaideep Pujara
Greenhorn

Joined: Jun 19, 2003
Posts: 11
Java Torpedoes,

This is a Java 6 with WinXP (restricted env) trouble, I am facing.
JDK 1.6 installer has thrown certain .cab files in the path:-
C:\Documents and Settings\<nt-username>\Application Data\Sun\Java\jdk1.6.0_03

Issue is that, on our corporate network we have only 30MB allowed in this user profile space (C:\Documents and Settings\<nt-username>\), and these .cab files are summing up to 70MB.

Any pointer on the relevance/significance/importance of these .cab files in this location would be helpful. Is it safe to remove/delete them ??

Regards,
Jaideep
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32689
    
    4
Why are you installing a JDK in "My Documents" rather than c:\Program Files?

And I think you probably can't safely delete those .cab files.
Jaideep Pujara
Greenhorn

Joined: Jun 19, 2003
Posts: 11
Installation is done in the default path (C:\Program Files\Java\jdk1.6.0_03) itself.
The .cab files in C:\Documents and Settings\<nt-username>\Application Data\Sun\Java\jdk1.6.0_03 are getting added over and above installation.

To me, placement of these files (in C:\Documents and Settings\~~~\jdk1.6.0_03\) seems like a installer's activity at the time of install for temporary purpose, and not removed after that. (Ideally installer should have removed)

If somebody can concretely conclude this, I will remove these file safely now.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3011
    
    9
Campbell - C:\Documents and Settings is not the same as My Documents.

Jaideep - those files look like part of the install program - maybe they are needed for updating and/or uninstalling the JDK. It might be worth deleting them on a test machine and then see if the Change/Remove options in the Control Panel/Add or Remove Programs for the JDK still work.


Joanne
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32689
    
    4
Yes, I see what you mean. You are probably right Joanne, that these are temporary files which can be lost.
Jaideep Pujara
Greenhorn

Joined: Jun 19, 2003
Posts: 11
Thank you gentlemen, those files were installer's stuff, now removed and everything is working fine.

Regards,
Jaideep
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3011
    
    9
Originally posted by Campbell Ritchie:
You are probably right Joanne, that these are temporary files which can be lost.


That isn't what I was saying. I was saying that they may be used by the [b]uninstall/modification process.

Just out of interest I gave it a try. After deleting those files I could still uninstall the JDK, but I couldn't use the Change button in the Add or Remove Programs dialog to modify the installation. It specifically complained about the missing files. However, I guess you could just rerun the install program if you wanted to modify the installation, so it appears the files can be deleted without any major problem.
[ February 07, 2008: Message edited by: Joanne Neal ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Java 6 Posing Trouble Win XP Profile
 
Similar Threads
Firefox temporary file
where is the downloaded jar file for applet
file downoad [browser issue]
where r the session tracking cookies?
hey, can you guys help me with this hangman applet