add JAVA_OPTS to shell script stub