Unable to parse Java Lang.Object type – eclipse buildpath does not work properly
I encountered an eclipse problem on Mac OSX mountain lion I recently installed the Android SDK. In my java project, I get the following message:
Reading this issue, I don't seem to have defined a valid JRE in the project's build path Use Properties > to check the build path of the project Java build path > library. I see a red cross next to the JRE system library However, when I click Add Library... > JRE system library, I receive a message:
Then I try to click eclipse > Preferences > java > installed JRE and look at the empty list I tried to add... Standard virtual machine, but I couldn't find the location of my JRE/ Library / Java / javavirtualmachines / is empty and / system / library / frameworks / JavaVM The framework does not exist
Who knows how I can solve this problem?
Solution
This works for me:
>Right click your project – > build path – > configure build path > go to the library tab > click add library – > JRE system library – > next – > workspace default JRE (or you can add an alternate JRE) – > end