Skip to content
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

Windows installation unusable due to PowerShell issue #846

Open
gojforce opened this issue Dec 7, 2022 · 0 comments
Open

Windows installation unusable due to PowerShell issue #846

gojforce opened this issue Dec 7, 2022 · 0 comments

Comments

@gojforce
Copy link

gojforce commented Dec 7, 2022

Just installed Jabba on Windows 10 Terminal (loggedin as admin)

Here is what I get after I install Jabba:

. : File C:\Users\GO\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 cannot be loaded. The file C:\Users\GO\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3

  • . 'C:\Users\GO\Documents\WindowsPowerShell\Microsoft.PowerShell_profi ...
  • + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
    
    
    

Trying to hack PowerShell with a temporary security bypass like
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
allows a temporary solution where jabba can get installed and used within the same session.

And here is what I get when I open a new Terminal anywhere I need to use Java:

jabba : The term 'jabba' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • jabba use [email protected]
  •   + CategoryInfo          : ObjectNotFound: (jabba:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
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