Fixing java 1.6 / 1.7 dependency on installer.
TYNSTEP-936
Fixing java 1.6 issue.