You can either use the set-env option or via the manifest to set JAVA_OPTS env variable which in turn would be used by the java buildpack while kicking off the app instance.
Example via set-env:
cf set-env MyApp JAVA_OPTS "-Djava.net.preferIpv4=true -XX:-DisableExplicitGC -Djava.security.egd=file:/dev/./urandom"
-- this requires the app to be already pushed and then setting the environment variable. One way would be to push the app with nostart option and then set the variables and then start finally.
Or via the manifest file during app push:
path: build/libs/test-broker-0.1.0.jar
env:
JAVA_OPTS : "-Duser.timezone=GMT"
-Sabha