title: Javapackager tool from command-line on OSX?
body: <p>javapackager and javafxpackager don't seem to be recognised on the command line for me.  They don't show up in the terminal, even after I installed the latest 1.8 SDK.  (Even 'echo $JAVA_HOME' seems to be drawing a blank, though java -version seems to work fine.)</p>
  
  <p>If I look under /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/ I can see the javapackager and javafxpackager tools are present, but if I follow /usr/libexec/java_home back to it's origin in /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/ , there's no sign of them.</p>
  
  <p>The only other discussions I could find on the subject were a blog post and mailing list from about a year and a half back:
  <a href="https://devreboot.wordpress.com/2014/11/26/java-desktop-app-packaging-automation/" rel="nofollow noreferrer">https://devreboot.wordpress.com/2014/11/26/java-desktop-app-packaging-automation/</a>
  <a href="http://lists.apple.com/archives/java-dev/2015/Nov/msg00009.html" rel="nofollow noreferrer">http://lists.apple.com/archives/java-dev/2015/Nov/msg00009.html</a></p>
  
  <p>I realise OSX hasn't come with java 'by default' for some time, but that's kinda why I was hoping to release my application as a self-contained bundle with it's own VM.  Would it be standard procedure to update my bash profile to point at the tool explicitly?  Is there something screwy about my personal setup, or is there some gap in the tool support on OSX?</p>
  
  <p><br>
  PS:  I realise there's an older thread on this subject below:
  <a href="https://stackoverflow.com/questions/30145772/what-is-the-best-way-to-deploy-javafx-application-create-jar-and-self-contained">What is the best way to deploy JavaFX application, create JAR and self-contained applications and native installers</a></p>
  
  <p>However, that describes javapackager as a .jar file, and whatever I've got doesn't seem to be a .jar file.  I'm legitimately confused about what I'm supposed to do with it.</p>
  
  <p>EDIT:  Thanks to everyone for the tips- I think I have enough info to go on for now.</p>