Hi,
I'm a Java developer and new to Python.
Wanted to test embedding Python within Java.
I keep getting the same error message when trying to install/build Jep on my Linux 64 bit machine.
Running pip install jep resulted with the following error:
Downloading jep-3.5.3.tar.gz (252kB): 252kB downloaded
Running setup.py (path:/tmp/pip_build_root/jep/setup.py) egg_info for package jep
Error:
Please set the environment variable JAVA_HOME to a path containing the JDK.
Complete output from command python setup.py egg_info:
Error:
Please set the environment variable JAVA_HOME to a path containing the JDK.
Running python setup.py build Resulted with a simillar error:
Error:
Please set JAVA_HOME to a path containing the JDK.
I've verified that my JAVA_HOME is set to the appropriate jdk folder
java -version
yealds the following output:
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
What am I doing wrong?
Also, suppose I'd like to try another Jep version, where can I download it from?