Try installing java (1.17.71), and rename the JRE folder thats bundled in spark to something else. see if that works.
Another thing to try is to add the java unlimited strength policy files. This fixed a few random workstation for me, although I have no explanation why.
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download