0

The server JRE does not include certain diagnostic tools, like jmap and jstack. What reasons are there to deploy it to a server instead of a JDK?

MikeFHay
  • 8,562
  • 4
  • 31
  • 52
  • 2
    This feels more like a server administration question than a programming one. – Nic Apr 13 '15 at 12:34
  • 1
    multiple good reasons can be found here: http://stackoverflow.com/questions/1906445/what-is-the-difference-between-jdk-and-jre – Tom Jonckheere Apr 13 '15 at 12:35
  • @Tom I can only see one reason in that thread: JRE's are compiled without debug information, which can improve performance at the cost of being unable to step through std lib classes with a debugger. Thank you for that, but am I missing the other "multiple" reasons? – MikeFHay Apr 13 '15 at 12:50
  • 1
    @MikeFHay It (JRE) also requires less diskspace. Oke, mayby I was a bit to enthousiastic to state 'multiple good reasons'... Personally I also would deploy the JDK. – Tom Jonckheere Apr 13 '15 at 13:49

0 Answers0