I've been following this guide to setup SSL certificate on my Tomcat server.
When I try to run the .bat file with there mentioned parameters (with my pwd):
Error: Could not find or load main class Files\Java\jre7\lib\security\cert.pkcs12
The issue is caused by the space in java installation path
C:\Program Files\Java. Install java into a path without spaces will resolve the issue.
Add quotes around the path solve also the issue. Thanks @Ondrej