Jabba-Team / jabba

(cross-platform) Java Version Manager
Apache License 2.0
141 stars 11 forks source link

When using `use` twice, the PATH environment variable will encounter an error. #50

Open huxiaoning opened 1 month ago

huxiaoning commented 1 month ago
> jabba use openjdk@21.0.2
> jabba use openjdk@22.0.2
> $env:PaTH -split ';'
C:\Users\Jett\.jabba\jdk\openjdk@22.0.2\bin
\Program Files\PowerShell\7
D:\Program Files (x86)\VMware\VMware Workstation\bin\

Note that the second line of the output is missing the drive letter. This happens in both PowerShell and Windows PowerShell.