haron/startssl-java — pull request #1 by mgedmin (2013-12-05 08:22:41+00:00)
Title: Fix keystore path to match modern Java installations

I spent a week headbanging against the wall trying to get my Jenkins slave to accept my StartSSL certificate. Until I finally noticed that the Oracle Java installer created a directory structure that looks like this:
```
c:\Program Files (x86)\Java\jre7\bin\keytool.exe
c:\Program Files (x86)\Java\jre7\lib\security\cacerts
```

If I set %JAVA_HOME% to the `...\Java\jre7` directory, run.bat fails to locate the keystore and fails to import the certificates.

It didn't help that keytool prints "Certificate imported" success messages briefly in the command prompt, while the file not found errors are hidden away in run.log.