#ifndef jvm_global_h
#define jvm_global_h
#ifdef _WIN32
#include <memory>
#endif
#ifdef __APPLE__
#include <JavaVM/jni.h>
#else
#include <jni.h>
#endif
#ifdef __linux__
#include <memory>
#include <dlfcn.h>
#include <string>
#endif
#include <iostream>
#include <sstream>
#include <vector>
#include <assert.h>
struct VMError {
std::string errorMessage;
};
using JEnv = const std::shared_ptr<JNIEnv>;
#endif /* jvm_global_h */