Added generic packaging.
Applied changes to jdk7 & jdk 9.
Merge pull request #26 from ggtools/generic

Added generic packaging.