title: How do I update JAVA_HOME / JRE_HOME on Tomcat on Ubuntu 15.04?
body: <p>I'm trying to set my JRE_HOME variable in catalina.bat to be where my java is stored (/usr/lib/jvm/default-java) in Ubuntu.  I edited catalina.bat and added "set JAVA_HOME=/usr/lib/jvm/default-java" at the very top of the file but when I use "./catalina.sh version" it keeps stating "Using JRE_HOME: /usr".  <strong><em>How do I setup my catalina.bat file so that the JRE_HOME will update?</em></strong></p>
  
  <p>I've tried a few older guides for older versions of Ubuntu but nothing has worked.  Any and all help is appreciated I just want to get my computer working for java server side programming.  Thanks in advance.</p>