STS fails to install with ExtractToDirectory exception
STS fails to install in my system with exception:
Installing 'sts' (3.9.4) [64bit] spring-tool-suite-3.9.4.RELEASE-e4.7.3a-win32-x86_64.zip (390,4 MB) [=========================================] 100% Checking hash of spring-tool-suite-3.9.4.RELEASE-e4.7.3a-win32-x86_64.zip... ok. Extracting... Unzip failed: Excepción al llamar a "ExtractToDirectory" con los argumentos "2": "No se puede encontrar una parte de la ruta de acceso 'C:\Users\xoseantonio.rubal\scoop\apps\sts\3.9.4_tmp\sts-bundle\sts-3.9.4.RELEASE\features\org.eclipse.jst.jsf.apache.trinidad.tagsupport.feature_2.6.1.v201802231403\META-INF\maven\org.eclipse.webtools.jsf\org.eclipse.jst.jsf.apache.trinidad.tagsupport.feature'."
The path is more the 255 characters long.
Which windows version are you using?
If it's Windows 10 Version 1607 then could you check if the registry key LongPathsEnabled in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem is set to 1?
Set it 1 and try again (maybe restart the system).
If this isn't helping, then we have to look for another solution.
For later reference: https://msdn.microsoft.com/en-us/library/aa365247.aspx
My windows installation is Windows 10 Pro for Workstations, 1709, 10.0.16299.371. Thanks, your solution works.
Add to notes?
@rasa a check inside scoop-checkup.ps1 might be a good idea.
Android Studio has the same issue. Enabling LongPathsEnabled resolved the issue
Any suggestions if I'm stuck on Windows 7 at work? I have WMF 5.1 and .Net Framework 4.7.2 but it seems the LongPathsEnabled is limited to Windows 10.