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