diff --git a/setup.py b/setup.py index 4b9df04..1b6b313 100644 --- a/setup.py +++ b/setup.py @@ -103,6 +103,7 @@ else: if not jdk_home or not exists(jdk_home): raise Exception('Unable to determine JDK_HOME') + jre_home = None if exists(join(jdk_home, 'jre')): jre_home = join(jdk_home, 'jre') if not jre_home: