title: javac set default heap size for java permanently
body: <p>I'm trying to set the <code>javac</code> heap size for it's java vm permanently. I have set my <code>JAVA_OPTS</code> to <code>-Xmx64m</code> which works great when I call <code>java</code> but not <code>javac</code>. I still get heap size issues. Is there a different variable I can set in my .bashrc to change is permanently?</p>
  
  <p>When I run <code>javac -J-Xmx64m</code> it works great. So I just need a way to make that <code>-J-Xmx64m</code> option permanent. </p>
  
  <p>FYI - I'm running Ubuntu 11.10 with OpenJDK 1.7</p>