When using JDK 11 with Sahi, HTTPS websites do not open in the Mozilla Firefox browser. We get the error shown in the image below.
To resolve this issue, kindly upgrade to JDK 11.0.2 and above versions. We recommended the latest release JDK 11.0.8, as it contains all the security patches and bug fixes.
Ensure that Sahi uses the upgraded JDK version.
To change the version of Java that Sahi uses, edit sahi/userdata/bin/setjava.bat (or setjava.sh) and modify as below :
set SAHI_JAVA_HOME= C:/Program Files/Java/ jdk-11.0.8