For future reference, I just ran into this while trying it out (on Windows), and solved it by doing the following:
- Don’t copy jython-standalone-2.7.0.jar to
conf\automation\jython, copy it toruntime\lib\bootinstead - Instead of adding:
set EXTRA_JAVA_OPTS=-Xbootclasspath/a:C:\openhab2\conf\automation\jython\jython-standalone-2.7.0.jar -Dpython.home=C:\openhab2\conf\automation\jython -Dpython.path=C:\openhab2\conf\automation\lib\python
to start.bat, simply add:
set EXTRA_JAVA_OPTS=-Dpython.home=C:\openhab2\conf\automation\jython -Dpython.path=C:\openhab2\conf\automation\lib\python
Be advised this probably won’t survive an upgrade since the runtime directory gets pretty much overwritten (and you’re not really supposed to touch it much), but for quick testing it does the trick. Hope this helps.