title: java ${user.home} variable in linux
body: <p>I have a java application (.war) which I use <code>${user.home}/${project.build.finalName}/index</code> (in hibernate.properties) to save hibernate index.  I can deploy it in tomcat in windows without problem. but when I deploy in linux(ubuntu server 14.04)  ${user.home} will translate to <code>/usr/share/tomcat7/</code>  instead of <code>/var/lib/tomcat7</code>. the tomcat home (the webapp folder)  is in <code>/var/lib/tomcat7/</code> so the deployment would fail because it can't write to <code>/usr/share/tomcat7/</code></p>
  
  <p>which variable should I use to refer <code>/var/lib/tomcat7</code>?</p>
  
  <p>thanks</p>