Does not recognize/find Java Classes in Eclipse

Asked

Viewed 595 times

0

I was using Netbeans and had no problem. I migrated to Eclipse a short time ago and now I went to make a code and Eclipse doesn’t even recognize the main Java Classes. System, Scanner, etc. What might it be? Any incompatibility with JDK? Any settings in Eclipse that I did wrong? Follow screenshot.  ex. Classe System não encontrada

  • Already checked if the JDK is configured correctly in the eclipse?

  • Most likely is the configuration of JDK, look and return to us as there ta.

  • 1

    Right-click the project > Properties > Tab Libraries; Select JRE System Library and click Edit. Select the Workspace default JRE (Latest version of JRE). Click Finish and then OK. Let us know if it works.

  • 1

    @Ronaldoaraújoalves Apparently the problem was in JRE itself, I entered the following right menu in the project > Properties > Java Build Path > Libraries and JRE was unlinked(Unbound) from the project, I changed and saved the modification. Is working normally.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.