Ubuntu – ERROR: JETTY_HOME not set

jettyUbuntu

I have tried installing Jetty server on my Ubuntu 12.04 following this steps. But when I start my server I get the following error,

service jetty start
** ERROR: JETTY_HOME not set, you need to set it or install in a standard location

Best Answer

Here's a pointer in the right direction: JETTY_HOME refers to an environment variable set with a value corresponding to the directory path where you have installed jetty.

https://stackoverflow.com/questions/2655641/set-environment-variable-in-ubuntu