Fix for shark environment template when JAVA_OPTS is set.
Merge pull request #255 from boneill42/master

Fix for shark environment template when JAVA_OPTS is set.