shyiko / jabba

(cross-platform) Java Version Manager
2.97k stars 194 forks source link

Windows installation unusable due to PowerShell issue #846

Open gojforce opened 1 year ago

gojforce commented 1 year ago

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

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