Issue
When I try to add a new environment variable by clicking on edit button under the system variables path, it is shown in this format.
%JAVA_HOME%\bin;%MAVEN_HOME%\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\PostgreSQL\13\bin;C:\Program Files\nodejs;C:\Users\cundi\AppData\Local\Android\Sdk\tools;C:\Users\cundi\AppData\Local\Android\Sdk\platform-tools;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%M2_HOME%\bin;
You can see the full Path above.
Earlier, it was showing in this format.
Is there any way to fix this? It is so frustrating to arrange paths for the environment variables like this.
Solution
Windows is using some algorithm to decide whether to display the multiline window, and it looks like it uses the first semicolon-delimited string to decide. A path with certain environment variables doesn't look like a valid path to the algorithm. My guess is %USERPROFILE%
is a well-known variable used in paths, or %JAVA_HOME% or %MAVEN_HOME% are invalid or missing in some way (I didn't define them). Moving the %JAVA_HOME%\bin;%MAVEN_HOME%\bin
paths to the end of the string made it open properly for me:
Answered By - Mark Tolonen Answer Checked By - Terry (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.