mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3fe2edf36a
PR: 50350, 50388 Submitted by: Thomas Vogt <thomas.vogt@bsdunix.ch>
32 lines
760 B
Plaintext
32 lines
760 B
Plaintext
|
|
- The environment variable JETTY_HOME should be set to the
|
|
installation directory. Typically :
|
|
|
|
For shells like bash:
|
|
JETTY_HOME=%%PREFIX%%/share/java/jetty-%%PORTVERSION%%
|
|
export JETTY_HOME
|
|
|
|
For shells like (t)csh:
|
|
setenv JETTY_HOME %%PREFIX%%/share/java/jetty-%%PORTVERSION%%
|
|
|
|
- The environment variable JAVA_HOME should be set to the
|
|
Java installation directory. For instance :
|
|
|
|
For shells like bash:
|
|
JAVA_HOME=%%PREFIX%%/jdk1.3.1
|
|
export JAVA_HOME
|
|
|
|
For shells like (t)csh:
|
|
setenv JAVA_HOME %%PREFIX%%/jdk1.3.1
|
|
|
|
- Running the Demo :
|
|
|
|
$JETTY_HOME/bin/jetty.sh demo
|
|
|
|
Use a browser to access the Jetty demo site at :
|
|
|
|
http://hostname:8080
|
|
or
|
|
http://localhost:8080 (if the browser is running
|
|
on the same machine)
|