T
T
Tim2452020-01-03 20:12:32
Java
Tim245, 2020-01-03 20:12:32

Exception: Unable to determine JDK_HOME, I have downloaded JDK kit, what's wrong?

I want to download the pip install jnius library but it gives

ERROR: Command errored out with exit status 1:
command: 'c:\users\marme\appdata\local\programs\python\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\marme\\AppData\\Local\\Temp\\pip-install-6n77kg92\\jnius\\setup.py'"'"'; __file__='"'"'C:\\Users\\marme\\AppData\\Local\\Temp\\pip-install-6n77kg92\\jnius\\setup.py'"'"';f=getattr(tokenize , '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\ n'"'"');f.close();exec(compile(code, __file__, '"'"
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\marme\AppData\Local\Temp\pip-install-6n77kg92\jnius\setup.py", line 111, in
raise Exception ('Unable to determine JDK_HOME')
Exception: Unable to determine JDK_HOME

but I downloaded the JDK kit isn't that the same thing

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Roo, 2020-01-03
@xez

JDK_HOME is an environment variable that points to the folder where the JDK is located.
If you don't have it, then you need to install it yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question