I am using Windows 10 and DAML was installed and was working fine for me until I chose to install the SDK 2.2.0 and uninstall all other DAML SDKs previously installed.
I am now getting an Error: ‘daml’ is not recognized as an internal or external command, operable program or batch file.
I have checked the JAVA_HOME system variable and is working fine.
In command Prompt I execute echo %JAVA_HOME% and I am getting the correct path of:
C:\Program Files\Eclipse Adoptium\jdk-17.0.4.101-hotspot
DAML is installed in location - C:\Users\XXXXXX\AppData\Roaming\daml\sdk\2.2.0\daml
I have uninstalled and re-installed Eclipse Adoptium and deleted/reset environment variable but it is still now working.