• Register
1 vote


I have installed eclipse for getting the taste of android coding recently. I am pretty new in eclipse as well as android. Could anyone please tell me why it’s showing java was started by returned exit code=13?

12 7 7
15,250 points

1 Answer

1 vote
Best answer


It seems that you messed up between the OS, JDK, and Eclipse. First of all, make sure that you’ve installed the right version of JDK for your environment. Unless you install the right combination it never gonna work.

Let me show you the correct combinations below:

  1. 64-bit OS, 64-bit JDK, 64-bit Eclipse (64-bit only)

  2. 64-bit OS, 32-bit JDK, 32-bit Eclipse

  3. 32-bit OS, 32-bit JDK, 32-bit Eclipse (32-bit only)

Kindly use any of these following combinations.

13 9 6
94,240 points

Related questions

0 votes
1 answer 24 views
Java was started but returned exit code = 13, error on Windows I saw the following error message after double clicking the ICE_SDK ice.sdk.product-win32.win32.x86_64 on Windows 10 after installation. I couldn't reproduce it when a first saw it two weeks ago.Somehow, I was ... . The work environment details are below. Java path: C:\Program Files (x86)\Java\jre1.8.0_111\bin How can I solve this?
asked Mar 16 LizzyM 6.1k points
0 votes
2 answers 292 views
My java program is running but the eclipse IDE crashes and shows the error message- “Java was started but returned exit code=1” I have set my environment variables correctly on my “System Environment Variables” settings. I have tried some other solutions found online but nothing worked for me unfortunately. Any help would be appreciated with thanks.
asked Mar 10 LizzyM 6.1k points
1 vote
1 answer 55 views
Problem: I am trying to run a simple java program using Eclipse. My program is returning something suspicious message (process finished with exit code 0). What is it? Please, find my sample code below and let me know how to fix the error. import java.util.Scanner; public class ... .out.println(num); num--; } } } Many many thanks for your help, guys. I am really looking forward to have your help.
asked Apr 9 Gavin 15.3k points
1 vote
1 answer 41 views
Problem: Learning programming is fun, but it becomes hectic alongside sometimes. I am a novice in C/C++ programming and I’ve written a program that should check student grade/mark but the program is not working for me. Please find my sample code snippet below and let me know ... ; break; case 3: print("Grade 3"); default: print ("Error"); } return 0; } Thanks for your kind concern guys.
asked Apr 9 Gavin 15.3k points