I’m trying to get Jython running on my OpenaHAB-Installation.
I installed OpenHAB on my Windows Laptop and now I’d like to set the EXTRA_JAVA_OPTS in my start.bat accordingly, but the Getting Started Section only explains how to set this variable in the start.sh:
Good question… I haven’t tried. Based on this info, it looks to me (untested and a bit of a guess) that you would do something like this (but with the proper paths for Windows)…
SET EXTRA_JAVA_OPTS=-Xbootclasspath/a:/opt/openhab2/conf/automation/jython/jython-standalone-2.7.0.jar -Dpython.home=/opt/openhab2/conf/automation/jython -Dpython.path=/opt/openhab2/conf/automation/lib/python
If this doesn’t work, you’ll need to manually set it as an environment variable. Let me know what you end up with and I’ll update the doc!