title: How can I JPackage an RPM/PKG/DEB on Windows?
body: <p>I am attempting to create an executable for Linux systems using JPackage.
  I have successfully created an executable for windows using this command:</p>
  <pre><code>jpackage --type msi --name EzQuiz --description &quot;EzQuiz by Benjamin Schreiber&quot; --app-version 1.0 --input D:\dev\IdeaProjects\fblaproj\out\artifacts\fbla_gui_jar --dest D:\Users\Work\Desktop\ --main-jar fbla_gui.jar --win-shortcut
  </code></pre>
  <p>However, when I attempt to make an RPM or DEB or PKG with this same command</p>
  <pre><code>jpackage --type rpm --name EzQuiz --description &quot;EzQuiz by Benjamin Schreiber&quot; --app-version 1.0 --input D:\dev\IdeaProjects\fblaproj\out\artifacts\fbla_gui_jar --dest D:\Users\Work\Desktop\ --main-jar fbla_gui.jar --linux-shortcut
  </code></pre>
  <p>I get <code>Error: Invalid or unsupported type: [rpm]</code></p>
  <p>On the JPackage command docs I can clearly see RPM is an accepted value <a href="https://i.stack.imgur.com/mR0Tj.png" rel="nofollow noreferrer">allowed values</a></p>
  <p>How can I create an RPM/PKG/DEB file file with jpackage on windows?</p>