Add check for Fedora and install appropriate java version.
Merge pull request #2 from ehelms/support-java-1.7

Add check for Fedora and install appropriate java version.