title: Open JDK 11 and javah in pom.xml
body: <p>I switched my java version from java 8 to java 11 , and it seems that in java 11 javah is removed from JDK bin folder, before I was executing the javah command in my pom.xml like below</p>
  
  <pre><code>&lt;execution&gt;
        &lt;id&gt;javah&lt;/id&gt;
        &lt;goals&gt;
           &lt;goal&gt;exec&lt;/goal&gt;
        &lt;/goals&gt;
        &lt;phase&gt;compile&lt;/phase&gt;
        &lt;configuration&gt;
            &lt;executable&gt;javah&lt;/executable&gt;
                &lt;arguments&gt;
                    &lt;argument&gt;-classpath&lt;/argument&gt;
                    &lt;argument&gt;${project.build.outputDirectory}&lt;/argument&gt;
                    &lt;argument&gt;-d&lt;/argument&gt;
                    &lt;argument&gt;${build.path}/include&lt;/argument&gt;
                 &lt;/arguments&gt;
        &lt;/configuration&gt;
   &lt;/execution&gt;
  </code></pre>
  
  <p>Since javah has been removed from JDK 11 how can I replace the above javah command with javac -h in my pom to work with java 11</p>
  
  <p>The error I get is </p>
  
  <p>Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (javac -h) on project myProject: Command execution failed.: Process exited with an error: 2 (Exit value: 2)</p>
  
  <p>Any idea?
  Thanks</p>