When using Environment Variables to switch Java versions through JAVA_HOME, updating PATH with %JAVA_HOME%\bin works in CMD, but does not work in PowerShell, because ...
I am using the exact same image used by Microsoft for their hosted agents to run a self-hosted Ubuntu 22.04 agent (https://learn.microsoft.com/en-us/azure/devops ...
I'm writing a simple script that will allow me to switch jdks easily so I have JAVA_HOME in my .profile set to something initailly and then I want to run the script so that it changes teh JAVA_HOME to ...