Hi, i solved this issue with the definition of JAVA_HOME env variable, if you don’t want to define a global one you can create one just for your conda environment. First activate your env and then run:
conda env config vars set JAVA_HOME="C:\Program Files\esa-snap\jre"
If C:\Program Files\esa-snap\ is not your snap installation path search for it and use your path to jre folder.