Skip to content

get-item : Could not find item C:\Program Files\JEnv-for-Windows\src #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
david-kirkland opened this issue Jul 3, 2024 · 0 comments

Comments

@david-kirkland
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant