Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sphinx/Getting Started/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Instructions for installation in a Docker container are available :doc:`here <Do
#. |core_step_8a|
For example, in ``/automation/lib/python/``, rename the file ``configuration.py.example`` to ``configuration.py``.
|core_step_8b|
#. The ''/automation/lib/python/personal/__init.py.example`` file must be renamed to ``__init__.py``.
#. The ``/automation/lib/python/personal/__init.py.example`` file must be renamed to ``__init__.py``.
If you modify it, take care not to overwrite the file during upgrades.
#. Add/modify the EXTRA_JAVA_OPTS.
These examples assume that you will be using the standalone Jython 2.7.0 jar in the next step.
Expand Down Expand Up @@ -113,7 +113,7 @@ Instructions for installation in a Docker container are available :doc:`here <Do
REM Add to the top of the file
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

#. Download the `standalone Jython 2.7.0 jar <http://www.jython.org/downloads.html>`_ and copy it to the path specified above in the EXTRA_JAVA_OPTS.
#. Download the `standalone Jython 2.7.0 jar <https://www.jython.org/download>`_ and copy it to the path specified above in the EXTRA_JAVA_OPTS.
A full installation of Jython can also be used, but the paths above would need to be modified.
Jython 2.7.1 and 2.7.2a1+ will also work, but 2.7.0 has proven to be very stable.
#. Copy the ``/Script Examples/Python/hello_world.py`` script to ``/automation/jsr223/python/personal/``.
Expand Down