Java dimulai tetapi kembali kode keluar = 13

 had the same issue, Java was started but returned exit code=13.

My solution was to create an environment variable to Windows properties variable 
name = PATH variable value = C:\Program Files\Java\jdk1.7.0_02\bin, not 
to C:\Program Files (x86)\Java\jre7\bin.
android developer