reset password
Author Message
layla08
Posts: 70
Posted 19:25 Jul 07, 2015 |

Has anybody encountered this error? I tried Googling it but most solutions say that there should be a JDK option in my Installed JREs folder (there isn't - see screenshot below). 

Thanks for your time!

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error

 

cysun
Posts: 2935
Posted 08:41 Jul 08, 2015 |

I think your Windows is probably 64bit but you installed a 32bit JDK - you can see that it's under \Program Files (x86) instead of just \Program Files.

In any case I'd suggest that you reinstall JDK. Uninstall the existing JRE & JDK first, and make sure you get the right version.
 

layla08
Posts: 70
Posted 20:42 Jul 08, 2015 |

Uninstalling and reinstalling did the trick. Thank you!