JAVA_HOME exporting issue while installing jep through pip3

I am trying to install jep system-wide from pip3 by the following command sudo pip3 install jep I get the following error: Complete output from command python setup.py egg_info: Error: Please set the environment variable JAVA_HOME to a path containing the JDK. Command python setup.py egg_info failed with error code 1 in /tmp/pip-install-t9lhbx74/jep/ I have…

Details