| 1 | + | import java.lang.reflect.Method; |
| 2 | + | |
1 | 3 | | public class Test { |
2 | 4 | | public static void main(String[] args) { |
3 | | - | burp.StartBurp.main(args); |
| 5 | + | try { |
| 6 | + | Method main = Class.forName("burp.StartBurp").getMethod("main", String[].class); |
| 7 | + | main.invoke(null, (Object) args); |
| 8 | + | }catch (Exception e){ |
| 9 | + | System.err.println("Cannot start burp. Check the burp jar is correctly included in the classpath."); |
| 10 | + | } |
4 | 11 | | } |
5 | 12 | | } |
6 | 13 | | |