Reputation: 11
https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#environment-settings enter image description here how to set "org.jboss.byteman.compileToBytecode" property? this document doesn't give an example.
I try to set environment proproty as follow:
export org.jboss.byteman.dump.generated.classes=1
but get an issue: -bash: export: `org.jboss.byteman.dump.generated.classes=1': not a valid identifier
Upvotes: 0
Views: 42
Reputation: 11
This is a JVM property. You can set it this way:
java -Dorg.jboss.byteman.dump.generated.classes=1 -javaagent:$BYTEMAN_HOME/lib/byteman.jar=script:appmain.btm AppMain foo bar baz
Upvotes: 1