bash: log java's version