str should be enhanced to allow the user to pass Java options
So far, "str" does not allow the user to pass Java options.
This could be done by adding an environment variable
$STRJFLAGS that the user could optionally set before
To do so: replaceSubmitted by hubert on 3 April 2017 at 15:16
java -cp "$CLASSDIR:$STRJAR" "$JAVANAME"
java $STRJFLAGS -cp "$CLASSDIR:$STRJAR" "$JAVANAME"
You could probably use the
JAVA_TOOL_OPTIONSto achieve this. See https://docs.oracle.com/javase/8/docs/platform/jvmti/jvmti.html#tooloptions. Is that enough for your use case?
Log in to post comments