ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21.33k stars 1.41k forks source link

Cannot install jdk due to the specified path is too long #4213

Closed kid1412621 closed 3 years ago

kid1412621 commented 3 years ago
scoop install ojdkbuild-full
=== Logging started: 12/31/2020  18:15:10 ===
Error 1320. The specified path is too long: C:\Users\myname\scoop\apps\ojdkbuild-full\14.0.2.12-1\_tmp\SourceDir\ojdkbuild\java-14-openjdk-14.0.2-1\missioncontrol\features\org.openjdk.jmc.feature.flightrecorder_7.1.1.202007181904\META-INF\maven\org.openjdk.jmc\org.openjdk.jmc.feature.flightrecorder
=== Logging stopped: 12/31/2020  18:15:32 ===
ifduyue commented 3 years ago

https://github.com/lukesampson/scoop/issues/3838#issuecomment-690969819 this worked for me

anafletcher88 commented 5 months ago

Try using Longpath Tool.

John-davis78 commented 5 months ago

Use longpath tool.

Rickeymarchram commented 5 months ago

Try using longpath tool, it is effective.

MartinMiller23 commented 5 months ago

Longpath tool is useful for this type of problems,

Rukhsanah commented 5 months ago

Use longpath tool, it is effective.

Ali29raza commented 5 months ago

try using long path tool it will solve this issue magically