JVMCBC-24: adding diagnostics and print them on startup.

Change-Id: I872de64211c58cbaff8a9a19bd4dbe475506db01