When trying to upload my game to Google for Android I had to figure out what JDK of Java was on my Mac. If you ran into this issue here is how you figure it out.
Mine was javac 1.6.0_65 which is SDK 6.
Here are Oracle’s versions:
6 = 1.6.0_85
5.0 = 1.5.0_75