Sachin Handiekar

Recent Posts


Categories


Copyright © 2019 Sachin Handiekar
May 12th, 2019 1

JVMTI – Get System Properties

In this post we will see how we can use the JVMTI GetSystemProperties to get a list of system properties. library.cpp #include "jvmti.h" #include JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *jvm, char *options, void *reserved) { std::cout GetEnv((void **) &jvmti, JVMTI_VERSION_1_2); if (result != JNI_OK) { std::cerr [...]

Sachin HandiekarSachin Handiekar