I'm using a Windows 10 system.
I need to use a program, which is opened by clicking on a Windows shortcut. Checking the shortcut's properties, I see the following as destination:
C:\ProgramData\Oracle\Java\javapath\javaws.exe -localfile -J-Djnlp.application.href=http://jws.agenziaentrate.it/jws/dichiarazioni/2019/RPF19.jnlp "C:\Users\Pc\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\25\33dde299-6b4cf49f"
But when I double click on the shortcut, I get an error dialogue stating: "Cannot determine a valid Java Home"
The same happens if I simply double click on the javaws.exe executable.
I already tried setting the %JAVA_HOME% environment variable to a valid value, and rebooted the system, to no avail.
I may I solve this problem?