Member since
01-10-2017
2
Posts
3
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1592 | 01-10-2017 04:47 PM |
01-10-2017
04:47 PM
2 Kudos
Ohh boy, this was a wild ride. So I solved this problem, for people who have the same problem, here is my workaround. The python scripts need your JAVA_HOME to be set. Lets say mine was set at /java/home In the atlas_config.py, the method jar(path) uses the function os.environ.get(JAVA_HOME, None) to get your JAVA_HOME variable. As in the example, it was set at /java/home, but the function os.environ.get() was giving me /java/home/jre as my JAVA_HOME variable. I really dont know where os.environ.get() is searching for your envrionment variables, but mine was set globally to /java/home. Anyway, here is what I added to the second line in the definition of the jar function in the atlas_config.py file:
...
java_home = "ACUTAL JAVA HOME PATH"
... If you know what could have caused the wrong output of os-environ.get feel free to tell me.
... View more