Is it possible to add an javaAgent
to the RunConfidurations
of a class in eclipse?
Everything I have found about adding a javaAgent
uses a jar-file to add it but I would like to run an agent without having to create a jar-file everytime before running the project from eclipse.
I tried adding a -javaagent
to the arguments tab in my RunConfigurations
but that only gives me
Unrecognized option: -javaagent
I think you are mixing things up here, if you use a java agent, the agent MUST be a jar file with a special manifest, there is no way around that. The application you are running does not have to be a jar file.