Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

No shutdown event handling with javaw.exe

2009-07-17
2013-06-12
  • Hello,

    I'm using a Launch4j generated .exe file to start an application. Unfortunately it doesn't shut down nicely (it doesn't execute the shutdown hook thread)  because of this bug:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4302814

    I know this is not a Launch4j problem but is this something you can fix? Eclipse is the only Java application that I'm aware of that shuts down nicely. It has it's own launcher that's why I thought you could help.

    Thanks,
    Nicu

     

  • Anonymous
    2011-04-01

    I'd love a workaround to it too. If you use a console mode, it works fine, but it's not feasible at all. I took other strategy to fix my problem, but it's not always possible.