I have a condition in cpp saying if JVM is not running, I create a JVM and add all the Classpaths. On the other hand, if JVM is already running I need to add those classpaths to existing JVM. Though I need to make these changes in cpp only.
For example
if (this->pjvm == NULL){
creating JVM using ptrfCreateJavaVM
}
else{
??
}