No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Sorry. I forgot to say I was developing on Eclipse.

Anyway, I fixed the issue, I had to go to my “Run Configurations” and change the “Runtime JRE” as it was set as a JRE and not a JDK.

Thanks for your help!

1 Like