Hi Jasmin,
sometimes the JDK isn`t used on a Mac but the default Java installation which is still 1.6 I believe. You can test this by entering "java -version" on the command line. See also other posts about this issue for Mac on this forum.
Hth,
Andreas