Keeping console open after program exits

Help
2007-07-17
2013-10-18
  • Jeff Puchalski
    Jeff Puchalski
    2007-07-17

    I have a console app, and I'd like to be able to require a keypress after the app exits before closing the console.  Is there a way to do this in launch4j?

    Thanks!
    Jeff

     
    • Grzegorz Kowal
      Grzegorz Kowal
      2007-07-24

      You have to wait for the key press in your app.

      Grzegorz

       
  • casueps
    casueps
    2013-10-18

    What about a UnsupportedClassVersionError? In this case the app won't even open and it won't ask for a keypress. The user doubleclicks on the .exe and it opens and closes immediately