Skip to content

Commit

Permalink
[doc][xs] Nicer fix for SOLR JDK startup issue
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Apr 29, 2012
1 parent f4f549c commit ccd89d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/solr-setup.rst
Expand Up @@ -50,13 +50,12 @@ and the admin site::

http://localhost:8983/solr/admin

.. note:: If you get the message `Could not start Jetty servlet engine because no Java Development Kit (JDK) was found.` then you will have to edit /etc/profile and add this line to the end such as this to the end (adjusting the path for your machine's jdk install):
.. note:: If you get the message ``Could not start Jetty servlet engine because no Java Development Kit (JDK) was found.`` then you will have to edit the ``JAVA_HOME`` setting in ``/etc/default/jetty`` (adjusting the path for your machine's JDK install):

``JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/``

Now run::

export JAVA_HOME
sudo service jetty start


Expand Down

0 comments on commit ccd89d8

Please sign in to comment.