For Mac OS X versions lower than 10.7.x install the version for java 6, otherwise install the version for java7