Update java_certificate to function on windows
#723
+13
−6
java_certificate to function on windows
#723