DAML SDK installation issue

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.

Hi hkhetan

It looks like %PATH% system variable does not have a path to daml binary. Please adjust the %PATH% by adding bin directory of daml sdk into your %PATH% system variable and it should fix this specific problem.

Best,
Sergey

1 Like

Hello Sergey,

Awesome!! It resolved my issue. Thanks!!