samedi 9 mai 2015

Eclipse Java application: Returning exit code \= 0 opens unwanted window

We're building an application in Java based on Eclipse. Its entry point implements IApplication. The exit code is set by method start().

The problem is that if when the exit code is not 0, Eclipse presents a dialog box saying "Java was started but returned exit code=...". After the user closes the dialog, the application terminates and the exit code is correctly set.

How can I prevent the warning dialog from being displayed?

Thanks, Ulrich

Windows 8.1

org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

Aucun commentaire:

Enregistrer un commentaire