1 2 3 4 5 6 7 8 9
#include <jvmti.h> JNIEXPORT jint JNICALL Agent_OnLoad (JavaVM *vm, char *options, void *reserved) { // nothing -- this is just a stub to get JVMTI properly // initialized }