I've created a simple plugin following the instructions found here and here.
However, when I launch Soot from command line I get an error (I also get a similar error when using the full path of the jars)
C:\..\folder>java -cp soot-2.5.0.jar;plugin.jar soot.Main --plugin plugin.xml -p jap.foo opt:true java.lang.Object
Invalid option -plugin Exception in thread "main" soot.CompilationDeathException: Option parse error
at soot.Main.processCmdLine(Main.java:85)
at soot.Main.run(Main.java:161)
at soot.Main.main(Main.java:141)
What am I missing? Any help is welcome