title: How to check Oracle Java version if multiple versions of Java installed on Ubuntu
body: <p>I have both <em>OpenJDK</em> and <em>Oracle Java</em> installed on my Ubuntu. 
  If the activated java is OpenJDK, is there a way to check the version of Oracle java in bash shell?</p>