1. Locate your eclipse and jre folder. My paths are /opt/eclipse and /opt/jdk/jre, respectively.
2. Run the command “sudo ln -s /opt/jdk/jre /opt/eclipse” This creates a reference in the eclipse folder to your jre folder and allows Eclipse to find your jre folder.
3. Click on Eclipse on your Unity Launcher and everything should be set.