summaryrefslogtreecommitdiffstats
path: root/www/jetty/pkg-message
blob: d2e6da36a6bab69a1331fe22416ce2c3f6642b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

- 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.4.1
        export JAVA_HOME

	For shells like (t)csh:
	setenv JAVA_HOME %%PREFIX%%/jdk1.4.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)
OpenPOWER on IntegriCloud