Its in Eclipse setup only
It has 4 steps TODO.
Step 1 : Right Click on Eclipse project Properties
Step 2 : Java Build Path -> Libraries
Step 3 : Select JRE System Library -> Click Edit button -> Click Installed JREs... button
Step 4 : Edit JRE as Set JRE Home = JAVA_HOME
ScreentShot: