Hi, when i use "byteman.sh AppMain3 -l test2.btm", the test2.btm didn't been installed. bmsubmit.sh showed no rule installed, and then use "bmsubmit.sh -l test2.btm", the rule would be installed successfully.

Hi, when i use "byteman.sh AppMain3 -l test2.btm", the test2.btm didn't been installed. bmsubmit.sh showed no rule installed, and then use "bmsubmit.sh -l test2.btm", the rule would be installed successfully.

Hmm, I assume you mean bmjava.sh rather than byteman.sh?

If that is the case then the problem here is that you have passed the -l argument to the Java main method of AppMain3 rather than to bmjava. You need this