Skip to content

Windows: Could not initialize class net.sf.launch4j.config.ConfigPersister #146

@lilvadim

Description

@lilvadim

I'm submitting a…

  • bug report
  • feature request
  • other

Short description of the issue/suggestion:
When packaging windows app there is an error when generating EXE starts

Could not initialize class net.sf.launch4j.config.ConfigPersister

Steps to reproduce the issue/enhancement:

  1. Setup some javapackager task with main class
  2. run task
  3. see the error

What is the expected behavior?
Generated folder with app

What is the current behavior?
Error

Please tell us about your environment:

  • JavaPackager version: 1.6.3
  • OS version: Windows 8.1 x64
  • JDK version: OpenJDK 17.0.2
  • Build tool:
    • Maven
    • Gradle

Other information
It doesn't seems to occur with winrun4j selected as exeGenerationTool but exe generated by winrun4j doesn't run (tried with bundled JRE), just an error window which asks to contact developer.

Also, could you tell me, if I didn't generate installer for windows, will folder with binary file be portable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions