0

I have one project that could build with java 8, but build fails with java 7. Here's jenkins build fail message. I google it and found it seems a JDK bug. Is there any workaround for it ? Because I don't have permission to change the jenkins server environment.

java.lang.RuntimeException: Could not generate DH keypair: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) -> [Help 1]

Java: Why does SSL handshake give 'Could not generate DH keypair' exception?

Community
  • 1
  • 1
zjffdu
  • 25,496
  • 45
  • 109
  • 159
  • The SO you have linked itself has a workaround in the accepted answer. Didn't it work? – Codebender Jun 17 '15 at 04:55
  • That wordaround seems need to change the jenkins server, but I don't have permission to change anything on that machine. – zjffdu Jun 17 '15 at 05:01

0 Answers0