Rename-Item: <path to JEnv installation>\jenv.ps1:157
Line |
157 | Rename-Item -path $jenvConfigTmp -NewName $jenvConfig
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'C:\Users\<me>\AppData\Roaming\JEnv\jenv.config.tmp' because it does not exist.
Removed JEnv openjdk17 successfully
Obs.:
The error only occurs when the item being removed is the only one in the config.
Steps to reproduce:
jenv add openjdk17 <path to openjdk17>
jenv remove openjdk17
Error:
Obs.: The error only occurs when the item being removed is the only one in the config.