Building older NetBeans project in bash leads to error
<p>I am opening an older NetBeans project and I want to build it using <code>ant</code> in <code>bash</code> with debian. However, when I try to run <code>ant</code>, I get this error</p>

<blockquote>
  <p>BUILD FAILED
  /home/karelbilek/NetBeansProjects/oldProject/nbproject/build-impl.xml:528:
  The following error occurred while executing this line:
  /home/karelbilek/NetBeansProjects/oldProject/nbproject/build-impl.xml:261:
  Unable to find a javac compiler; com.sun.tools.javac.Main is not on
  the classpath. Perhaps JAVA_HOME does not point to the JDK. It is
  currently set to "/usr/lib/jvm/java-7-openjdk-i386/jre"</p>
</blockquote>

<p>What does that mean? What should I do? In "/usr/lib/jvm/java-7-openjdk-i386/jre" there seems to be an actual JRE when I look there, so what is the problem?</p>
