Replace `java_select.currentJVM` by `getCurrentJVM` and `setCurrentJVM`.