JEnv-for-Windows
JEnv-for-Windows copied to clipboard
get-item : Could not find item C:\Program Files\JEnv-for-Windows\src
trafficstars
New install on Windows 10 Enterprise. Using the Windows PowerShell terminal built into IntelliJ.
System PATH includes C:\Program Files\JEnv-for-Windows\
JEnv seems to work, but every jenv command produces the same error before the output.
get-item : Could not find item C:\Program Files\JEnv-for-Windows\src.
At C:\Program Files\JEnv-for-Windows\src\jenv.ps1:69 char:10
+ $root = (get-item $PSScriptRoot).parent.fullname
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program Files\JEnv-for-Windows\src:String) [Get-Item], IOException
+ FullyQualifiedErrorId : ItemNotFound,Microsoft.PowerShell.Commands.GetItemCommand
I've tried setting the system PATH variable to C:\Program Files\JEnv-for-Windows\src without luck. Any ideas?