title: Cannot find ant-javafx.jar for OpenJDK 7
body: <p><strong>Intro:</strong> I am fairly new to ant and I am building jar using a preexisting <a href="https://github.com/reactome/CuratorTool/blob/master/ant/JavaBuildPackaging.xml" rel="nofollow noreferrer"><code>.xml</code> file</a>.</p>
  
  <p><strong>Problem:</strong> I have to script its build process, so trying to run it in terminal. The ant build fails after giving following error:</p>
  
  <pre><code>default:
    [taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.
  BUILD FAILED
  Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:application
  Cause: The name is undefined.
  </code></pre>
  
  <p><strong>Probable cause:</strong>
  I looked around for a while and I guess that it is probably a library issue. Javafx is shipped with JAVA provided by oracle, and is not available in OpenJDK 7. A relevant piece of code from the file is as follows and entire file can be found <a href="https://github.com/reactome/CuratorTool/blob/master/ant/JavaBuildPackaging.xml" rel="nofollow noreferrer">here</a>:</p>
  
  <pre><code>&lt;property name="targetDir" value="${basedir}/../../Documents/ReactomeBuild/CuratorToolBuildFiles" /&gt;
  &lt;target name="default"&gt;
      &lt;taskdef resource="com/sun/javafx/tools/ant/antlib.xml"      
               xmlns:fx="javafx:com.sun.javafx.tools.ant"
               uri="javafx:com.sun.javafx.tools.ant"
               classpath="${targetDir}:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/ant-javafx.jar"/&gt;
  ... some more code
  </code></pre>
  
  <p><strong>What I am doing:</strong>
  I thought maybe I should get the jar file of javafx but couldn't find it.I don't know if I am right in my approach or not. And if there is any official link to javafx.jar file then please let me know.</p>