initializeCppEnvironment

Initialises the JNI Bindings.

We update the C++ environment with a pointer to the JavaVM so that it can interact with JVM objects.

Normally done as part of init, and only required if you are avoiding calling init.