My Mac currently is running Snow Leopard (10.6.8), and I would like to develop with Java 7. I downloaded the Java 7 OS X installer from Oracle\'s website, started to run it.
The answer from @reukiodo is definitely the way to go, so thanks a bunch!. However, it might need some further explanation for newbs like myself.
I have changed the version in the /System/Library/CoreServices/SystemVersion.plist
based on this video tutorial http://www.youtube.com/watch?v=eFi-H-7-PD4
I had the same problem and was not able to google the proper way to do it. At the end I came up with solution myself and put it on my blog:
http://jksha.blogspot.se/2013/09/java-7-and-snow-leopard-osx-106.html