jpackage EA Build 0

Scott Palmer swpalmer at
Wed Dec 19 21:57:02 UTC 2018

If the main jar is in a subfolder the .cfg file is written incorrectly leading to: 
  Error: Could not find or load main class <fully-qualified class name>
  Caused by: java.lang.ClassNotFoundException: <fully-qualified class name>

Which I only found by manually running:


as double clicking doesn’t seem to show that output anywhere (I tried to find it in the output, but didn’t).

In my case the main jar is in a ‘libs’ subfolder.  The image is built correctly, with the subfolder under the ‘Java’ folder in the Mac application bundle.  However, the cfg file had:


instead of:


When I manually made that edit, it started to work.


> On Dec 14, 2018, at 7:46 AM, Andy Herrick <andy.herrick at> wrote:
> I am pleased to announce that the first EA build of jpackage is now available at :
> This is an early access build of JEP 343: Packaging Tool <>, aimed at testing a prototype implementation of jpackage,
> This build is intended for developers interested in jpackage, and is provided as a convenience so that they don't need to build from the source code <> (branch="JDK-8200758-branch").
> Warning: This build is based on an incomplete version of JDK 12 <>.
> Please send feedback via e-mail to core-libs-dev at
> /Andy

More information about the core-libs-dev mailing list