Tech News

How to fix Java was started but returned exit code 1

So after correcting the output code 13 and FMV not found, guys, are you still getting the exit code 1 error as well? Then you probably did something very wrong. First, check if you have the latest version JDK (Java Development Kit) downloaded? And what is actually the architecture of the PC you are running on is that 64 bit where 32 bit? And it is really the same as the J.D.K. version? since it should be the same. Did you set the path in the environment variable as shown in the fix FMV was not found an error? Do all of the above before you even continue. In this article, we are going to talk about How to fix Java was started but returned exit code 1. Let’s get started!

Java has been launched

System. exit code actually ends which is running Java virtual machine by initiating its shutdown sequence. This method never really returns normally and the argument serves as status code as well as.

  • Just head to the eclipse folder and right-click on it eclipse.ini then choose Edit.
  • Now just add the following lines: [path of the JDK should be where you guys have installed jdk]
C:Program FilesJavajdk1.7.0_21jrebinserverjvm.dll

Don’t just use the one C:\Windows\System32

REMARK: Well, the above fix also fixes the Eclipse error: Java was started but returned exit code = 2

Important: Mmake sure the -vm the option occurs even before the -vmargs order. As every command that basically happens after -vmargs actually goes straight to the JVM.

Well, almost everything afterwards went straight to the FMV. If you don’t really know where eclipse.ini file is: regularly, it is actually in the folder of your eclipse.exe.

common reason

Check which version of the operating system you are using. To check it, open the Windows explorer by pressing a Win+E key on your keyboard. Now on ThisPC (My Computer) that you found on the left side. Choose that and right click the mouse. In this context menu, simply select the Properties option. When you tap on this properties option, you will see the system properties window. In this window, just take a look at the “System type”optional.

In this type of system, you will see 64-bit operating system. That’s what we really need to know. We now know which version of the operating system we are actually using. After learning the OS version, just make sure you have downloaded the 64 bit version of Eclipse as well as a 64 bit Java software version also.

If you downloaded a 32-bit (X86) version of Java and eclipsed one of them. You will have this output code=13 mistake too. por favor recheck versions that you downloaded. So when installing, it won’t really show an error about the incompatible version. It will then install with no problem. In my case, I installed the 32-bit version of Java, so I’m also getting this error.


Alright, that was it folks! I hope you like this article and find it useful for you as well. Could you give us your opinion on this? Also, if you have any other questions and issues related to this article. So let us know in the comments section below. We will respond to you shortly.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button