Fix ws certificate generator for java 8
Travis config for JDK8