On the phone, select Settings -> About Phone. Locate the option called Build number and press on it 7 times in succession. You will then find that Developer Options is enabled in the About Phone menu.
Right Click on the Project in the Package Explorer. Select Build Path -> Configure Build Path -> Libraries. Now remove JRE System Library 1.7 and add the one for java-8-oracle by clicking on Add Library -> JRE System Library -> Click Execution Environment and set that to JavaSE-1.8 (java-8-oracle). Click Finish. This resolves the error … Continue reading Error building Java Program in Eclipse Mars after changing Java version