'How to set python environment in jython?

import org.python.util.PythonInterpreter;
PythonInterpreter interp = new PythonInterpreter();

So at the time of creating python interpreter, how can i specify which python environment to use?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source