mardi 26 juillet 2016

Unable to detect the JAVA_HOME path in mac El Capitan

import os
import sys

print os.environ.get('JAVA_HOME') #Output:: printing None

Unable to detect the JAVA_HOME path in mac El Capitan for python. But when I print the environment variables it is showing in the list.

enter image description here

How to fix this issue?

Aucun commentaire:

Enregistrer un commentaire