2000-09-02 10:42:20 -04:00
|
|
|
|
2001-12-13 05:09:56 -05:00
|
|
|
- The environment variable JETTY_HOME should be set to the
|
|
|
|
installation directory. Typically :
|
2000-09-02 10:42:20 -04:00
|
|
|
|
2001-12-13 05:09:56 -05:00
|
|
|
JETTY_HOME=%%PREFIX%%/share/java/jetty-%%PORTVERSION%%
|
2000-09-02 10:42:20 -04:00
|
|
|
export JETTY_HOME
|
|
|
|
|
2001-12-13 05:09:56 -05:00
|
|
|
- The environment variable JAVA_HOME should be set to the
|
|
|
|
Java installation directory. For instance :
|
2000-09-02 10:42:20 -04:00
|
|
|
|
2001-12-13 05:09:56 -05:00
|
|
|
JAVA_HOME=%%PREFIX%%/jdk1.3.1
|
|
|
|
export JAVA_HOME
|
2000-09-02 10:42:20 -04:00
|
|
|
|
|
|
|
- Running the Demo :
|
|
|
|
|
2001-12-13 05:09:56 -05:00
|
|
|
$JETTY_HOME/bin/jetty.sh run
|
|
|
|
|
|
|
|
Use a browser to access the Jetty demo site at :
|
2000-09-02 10:42:20 -04:00
|
|
|
|
|
|
|
http://hostname:8080
|
|
|
|
or
|
2001-12-13 05:09:56 -05:00
|
|
|
http://localhost:8080 (if the browser is running
|
|
|
|
on the same machine)
|