After you have written your probe classes,
compile them with Java compiler (
javac) as regular Java classes.
yourkit.jar to the compiler class path
to make classes in package
Unlike compile time, you do not need to add
yourkit.jar to class path in runtime.
All necessary classes in
com.yourkit.probe will be automatically
loaded by the profiler agent.
Optionally, you can put compiled classes to a JAR file. The probe classes are self-explanatory, so there is no need in any additional description in the JAR file manifest.