0

it's the first time I working with Eclipse but when I try to import any source I've this problem 1-The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files 2-The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

I tried some solutions like add library..>JRE System . but useless with me!!

heythem500
  • 133
  • 1
  • 4
  • 12

1 Answers1

0

I just solved this problem for myself as well. If the typical uninstalling and reinstalling the JRE System Library in the Java Build Path didn't work for you, then I suggest you try to install the Java JDK from here:

https://www.oracle.com/java/technologies/javase-downloads.html

Then, create a new workspace with default settings, and everything should be good. The reason why I had this problem is probably because I accidentally deleted something that was needed for Eclipse to function.

Dharman
  • 30,962
  • 25
  • 85
  • 135
DaeyongK
  • 71
  • 1
  • 3