You mean truststoreFile and keystoreFile objects? for clarity:
System.setProperty("javax.net.ssl.trustStore", "c:/cacerts.jks");
System.setProperty("javax.net.ssl.keyStore", "c:/keystore.jks");
gives me the same exception...
[Message sent by forum member 'adamjanusiewicz']
http://forums.java.net/jive/thread.jspa?messageID=471035