* This function delete a global reference to a java process instance.
* If the java process is alive the function joins it and stops it before.
*
* This function delete a global reference to a java process instance.
* If the java process is alive the function joins it and stops it before.
*