Sachin Handiekar

Recent Posts


Categories


Copyright © 2019 Sachin Handiekar

C++

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

Building a C/C++ project on Travis CI

Let’s see how we can use Travis CI for building a C/C++ project on Travis CI. We’ll use the consoleRadio C application which is used to stream Shoutcast Radio as an exampleThe .travis.yml file for the consoleRadio application looks like the following – Installing a custom version of cmake We can install a custom version [...]

Sachin HandiekarSachin Handiekar