title: Unable to create a jpackage installer on Fedora but it works in Ubuntu, macOS, and Windows
body: <p>I run the following jpackage command in Ubuntu 20.04 with OpenJDK 16.01:</p>
  <pre><code>jpackage --name MyApp --app-version 1.0.0 --icon /some/path/bigLogo.png --input ./ --main-jar my_app.jar
  </code></pre>
  <p>and it creates a &quot;.deb&quot; installer file.  When I run the same command on my freshly installed Fedora 34 with OpenJDK 16.02, I get the error message:</p>
  <pre><code>Error: Invalid or unsupported type: [null]
  </code></pre>
  <p>When I specifically identify the installer type via &quot;--type rpm&quot;, I get the error:</p>
  <pre><code>Error: Invalid or unsupported type: [rpm]
  </code></pre>
  <p>When I do &quot;jpackage --help&quot; and look at the help for --type, it tells me:</p>
  <pre><code>Valid values are: {&quot;app-image&quot;, &quot;rpm&quot;, &quot;deb&quot;}
  </code></pre>
  <p>Ubuntu lists the same valid values, but if I give it the supposedly valid type of 'rpm', it gives the same error of 'rpm' not being supported (but 'deb' works). The help is definitely not totally static.  When I check the help in macOS, it tells me:</p>
  <pre><code>Valid values are: {&quot;app-image&quot;, &quot;dmg&quot;, &quot;pkg&quot;}
  </code></pre>
  <p>Have I stumbled across an openjdk bug or am I missing some setup that needs to be performed on the JDK prior to use?  All I've done for either Linux install is download the tar ball, set JAVA_HOME, and add $JAVA_HOME/bin to PATH.</p>
  <p>My goal is to create an 'rpm' installer.  If someone can give specific steps how I would do that with JDK 16, I'd appreciate it.</p>