duncanb7
asked on
extract file jar file in Windows
Dear Expert,
Whne I try to unzip a jar jave library file on windows vista, some files are missing because the windows will
treat the file name of "ABC.class" same as "abc.clss" that will let both files wiil be overswritten and only allow
final one of both ABC or abc.class file existed. People suggested me to extract it in Linux/Unix platform but it doesn't
help when I reload it unzip directory into windows because of the similar reason just mentioned above.
How can I make WIndows file/directory system to be case sensitive similar to Java is also case senitive so that
we could extract the exact number of file from jar jave file without overwrite issue ?
BR
Duncan
Whne I try to unzip a jar jave library file on windows vista, some files are missing because the windows will
treat the file name of "ABC.class" same as "abc.clss" that will let both files wiil be overswritten and only allow
final one of both ABC or abc.class file existed. People suggested me to extract it in Linux/Unix platform but it doesn't
help when I reload it unzip directory into windows because of the similar reason just mentioned above.
How can I make WIndows file/directory system to be case sensitive similar to Java is also case senitive so that
we could extract the exact number of file from jar jave file without overwrite issue ?
BR
Duncan
simple answer - you can't
Windows is not and cannot be made case sensitive - you need to use filenames that are distinct.
Windows is not and cannot be made case sensitive - you need to use filenames that are distinct.
It appears I am mistaken !
I just checked to be sure and found a reference that says that of you install the .net framework Windows can be made case sensitive
The key is the HKLM\SYSTEM\CurrentControl Set\Contro l\Session Manager\kernel\ dword:ObCaseInsensitive registry entry
1, the file system is treated as case insensitive.
0, the file system is treated as case sensitive.
I just checked to be sure and found a reference that says that of you install the .net framework Windows can be made case sensitive
The key is the HKLM\SYSTEM\CurrentControl
1, the file system is treated as case insensitive.
0, the file system is treated as case sensitive.
ASKER
in other words, there is nothing to do with windows vista for the issue besides I switch to use Window .net frame system, Right ?
No other possibility ?
No other possibility ?
The .net framework is an installable feature that can be added see http://www.microsoft.com/downloads/details.aspx?familyid=333325fd-ae52-4e35-b531-508d977d32a6&displaylang=en
ASKER
Yes, it is good and possibe to make the file system to be case sentitive in windows, but where I can
change NFS setting and let it to "0" instead of "1" after downland .net frame in Windows.
Please advise it
Thanks
Duncan
change NFS setting and let it to "0" instead of "1" after downland .net frame in Windows.
Please advise it
Thanks
Duncan
ASKER
ANd let you know , my PC is not acted for server that is okay to make my windows to be case senitive ?
since I would like to run jar of java program for extracting file, tar libary has such file AA.class aa.class files....etc..
since I would like to run jar of java program for extracting file, tar libary has such file AA.class aa.class files....etc..
ASKER
And probably, I need to install IIS in my windows vista if I want to my file system to be case senitive for such
java jar application, RIght ? Any alternative is possible , please correct me if I made any mistake, thanks
java jar application, RIght ? Any alternative is possible , please correct me if I made any mistake, thanks
seems to me like you can use the switch mentioned above to preserve case sensitivity and when you install certain versions of .net this is undone.
See for details:
A file system that was case sensitive becomes case insensitive after you install an update for the .NET Framework 2.0
http://support.microsoft.com/kb/929110
This problem occurs because a problem in the original .NET Framework 2.0 Setup sets the value of the HKLM\SYSTEM\CurrentControl Set\Contro l\Session Manager\kernel\ dword:ObCaseInsensitive registry key to 1. The HKLM\SYSTEM\CurrentControl Set\Contro l\Session Manager\kernel\ dword:ObCaseInsensitive registry key determines whether a file system is case sensitive or case insensitive. If the value of this key is set to 1, the file system is treated as case insensitive. If the value of this key is set to 0, the file system is treated as case sensitive...Note This problem does not occur in updates for the .NET Framework 2.0 that were released after November 27, 2006.
so in short it seems like you only need to set the switch and you are done, no need to install iis or .net for that purpose.
tolomir
See for details:
A file system that was case sensitive becomes case insensitive after you install an update for the .NET Framework 2.0
http://support.microsoft.com/kb/929110
This problem occurs because a problem in the original .NET Framework 2.0 Setup sets the value of the HKLM\SYSTEM\CurrentControl
so in short it seems like you only need to set the switch and you are done, no need to install iis or .net for that purpose.
tolomir
ASKER
In other words, I need to install .net framework 2.0 instead of my using of windows vista to solve
the case sensititve issue, Right ? Please advise
Duncan
the case sensititve issue, Right ? Please advise
Duncan
just set the switch
HKLM\SYSTEM\CurrentControl Set\Contro l\Session Manager\kernel\ dword:ObCaseInsensitive
HKLM\SYSTEM\CurrentControl
ASKER
I tried "dword" before, it doesn't work, others suggest using SUA in Vista Bussiness or Ultimate, please
review my question in other links
Duncan
https://www.experts-exchange.com/questions/26258231/File-case-senitive-in-Window-Vista.html
review my question in other links
Duncan
https://www.experts-exchange.com/questions/26258231/File-case-senitive-in-Window-Vista.html
ASKER
Switc "dword" doesn't response on Vista Home Edition, RIght ?
You need to create a key of Dword type
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
restart your computer after changing the setting
ASKER
It is solved finally and thanks to all of
you to reply this email
Duncan
you to reply this email
Duncan
ASKER