I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago.
If you have recently installed Java 8 and uninstalled Java 7, install JDK 8 and retry.