0

Getting this error in windows 10 64 bit I did enable to enter long size path from the registry My question is how to disable this character limitation ?

enter image description here

I most say that this limitation is happening after i run the command : setx /M PATH "C:\dev\my\java\jvm\graalvm-community-jdk-21.0.1_windows-x64_bin\graalvm-openjdk-21.0.1+12.1\bin;%PATH%" it reset my all path and started to show this popup ..

user71020
  • 607
  • Your path is too long. What you can do is use mklink in a cmd prompt with administrative privileges, to link your bin path to a subfolder of c:\dev. mklink -j c:\dev\bin c:\dev\my\java\jvm\graalvm-community-jdk-21.0.1_windows-x64_bin\graalvm-openjdk-21.01.1+12.1\bin, and then adding c:\dev\bin to your path instead. Don't forget to update your junction if you update your install. – LPChip Dec 27 '23 at 17:18
  • In addition to what @LPChip suggests. Clean up your path. You don't need all of the stuff in it that is there (I guarantee it). I don't know exactly to what extent, but that path needs to get searched OVER AND OVER and it will indeed cost speed. – Señor CMasMas Dec 27 '23 at 18:01
  • all good , but the main question is how to setup the path to be accepting more then 2047 chars – user71020 Dec 31 '23 at 06:22

0 Answers0