Just add System.exit(0);
to the end of your main method.
That’s all you have to do.
More Related Contents:
- Program that asks user how many times it wants to loop for (java)
- Differences of components missing from OpenJDK-17 (Eclipse Temurin) which was present in OracleJDK-11 [closed]
- NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder
- Class JavaLaunchHelper is implemented in both … libinstrument.dylib. One of the two will be used. Which one is undefined
- Environment variables in Eclipse
- Eclipse: Attach source/javadoc to a library via a local property
- Easy way of running the same junit test over and over?
- Countdowntimer in minutes and seconds
- No tests found with test runner ‘JUnit 4’
- Things possible in IntelliJ that aren’t possible in Eclipse?
- Maven dependencies not visible in WEB-INF/lib
- Finding unused jars used in an eclipse project
- Eclipse: enable assertions
- Android drawable speech bubble
- Error scanning entry “module-info.class” when starting Jetty server
- Paste a multi-line Java String in Eclipse [duplicate]
- Stop spacebar keypress from triggering autocomplete in Eclipse
- Installing Checkstyle-Plugin (7.2.0) for Eclipse Neon fails
- Class JavaLaunchHelper is implemented in both. One of the two will be used. Which one is undefined [duplicate]
- How to import a Java project to Eclipse?
- java.io.FileNotFoundException in eclipse
- Eclipse: change name of existing package with classes inside
- How can I add JAR files to the web-inf/lib folder in Eclipse?
- How to convert jar to OSGi bundle using eclipse and bndtools
- Visual swing in Eclipse
- How does Eclipse actually run Junit tests?
- java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet error
- What project files does Visual Studio Code create via its Java extensions?
- Easiest way to upgrade eclipse 3.7 to 4.2 (Juno)
- How to specify jdk path in eclipse.ini on windows 8 when path contains space