I referred from this question: JRE_HOME not found on pip jnius installation
However, I tried restarting my computer and reinstalling the JDK and already set my environment variables
These are my environment variables: This is in the user variables
and I did the same to system variables:
I also added it to my path:
However when I run:
python -m pip install pyjnius
I get this error: errormessage
I also tried verifying it using this script:
import os
jdk = os.environ.get('JDK_HOME')
print(jdk)
jre = os.environ.get('JRE_HOME')
print(jre)
and it does not return as None. Any help on fixing this? And by the way, I am running this on a venv.
EDIT: This is my full environment variables: