System.exit code terminates the currently running Java virtual machine by initiating its shutdown sequence. This method never returns normally and the argument serves as a status code.

Fix Java was started but returned exit code 1

  1. Go to the eclipse folder and right-click on the eclipse.ini and select edit.
  2. Now add the following lines: [path of the JDK should be where you have installed jdk] Don’t use the one in C:\Windows\System32 NOTE: The above fix also fixes Eclipse error: Java was started but returned exit code=2 Important: Make sure, that the -vm option occurs before the -vmargs command. Because every command which occurs after -vmargs is passed directly t the JVM. Everything after is passed directly to the JVM. If not, Fix Could Not Create the Java Virtual Machine in Windows 10. If you don’t know where the eclipse.ini file is: regularly it is in the folder of your eclipse.exe. Let’s see how does it work out? Finally, it has worked out, now go and make the best app possible! That’s it people you have successfully learn how to fix java was started but returned exit code 1 but if you still have queries regarding this post feel free to ask me in the comment’s section.

Fix Java was started but returned exit code 1 - 19Fix Java was started but returned exit code 1 - 75Fix Java was started but returned exit code 1 - 53