Jump to: navigation, search

Difference between revisions of "Jetty/Starting/Downloads"

(Updated the JETTY_VERSION to the latest.)
m
Line 1: Line 1:
 
{{Jetty Starting
 
{{Jetty Starting
| introduction = You can download Jetty as a distribution bundle, a Maven dependency, an OSGi bundle, or install it via a Debian/RPM distribution.
+
| introduction = You can download Jetty as a distribution bundle, a Maven dependency, an OSGi bundle, or install it via a Debian/RPM distribution. When you download and unpack the binary, it is extracted into a directory called jetty-distribution-<var>VERSION</var>. Put this directory into a convenient location. The rest of the instructions in this wiki will refer to this location as either <tt>JETTY_HOME</tt> or as <tt>$(jetty.home)</tt>.
 +
 
 +
| prereqs =
 +
=== Hardware ===
 +
 
 +
* ~7 MB of disk space for Jetty source
 +
* ~7 MB for Jetty binaries
 +
 
 +
=== Operating System ===
 +
 
 +
* Any operating system that supports J2SE 1.5 or greater.
 +
 
 +
=== Environment ===
 +
 
 +
* J2SE 1.5 or [http://java.sun.com/javase/downloads/index.jsp greater]
  
 
| body =  
 
| body =  
Line 27: Line 41:
  
 
<source lang="bash">
 
<source lang="bash">
wget http://dist.codehaus.org/jetty/jetty-hightide-7.0.1/jetty-hightide-7.0.1.v20091125.tar.gz
+
wget http://dist.codehaus.org/jetty/jetty-hightide-8.0.0/jetty-hightide-8.0.0.v20110901.tar.gz
tar xfz jetty-hightide-7.0.1.v20091125.tar.gz
+
tar xfz jetty-hightide-8.0.0.v20110901.tar.gz
cd jetty-hightide-7.0.1.v20091125
+
cd jetty-hightide-8.0.0.v20110901
 
java -jar start.jar
 
java -jar start.jar
 
</source>
 
</source>
Line 46: Line 60:
  
 
TBD
 
TBD
 +
 +
== Distribution Contents ==
 +
 +
Here's a quick rundown of the distribution's contents. The top-level directory contains:
 +
 +
<div class="unbounded-list">
 +
; LICENSE-APACHE-2.0.TXT : license file for Jetty (Jetty 7 is dual-licensed)
 +
; LICENSE-ECLIPSE-1.0.HTML : license file for Jetty (Jetty 7 is dual-licensed)
 +
; META-INF : for packaging
 +
; README.txt : contains useful getting started information
 +
; VERSION.txt : Release information 
 +
; about.html : "About This Content" page from Eclipse
 +
; bin : utility shell scripts to help run Jetty on unix systems
 +
; contexts : hot deploy contexts directory
 +
; etc : directory for Jetty configuration files
 +
; javadoc : contains the javadoc
 +
; lib : contains all the JAR files necessary to run jetty
 +
; logs : directory for request logs
 +
; notice.html : licenses information and exceptions.
 +
; resources : directory containing additional resources for classpath
 +
; start.ini : Default start arguments
 +
; start.jar : JAR which invokes jetty-7 (see also [[Jetty/Howto/Run Jetty|How to Run Jetty]])
 +
; webapps : directory containing webapps which will be run under the default configuration of Jetty; contains demo webapps
 +
</div>
 +
  
 
=== Jetty-6 ===
 
=== Jetty-6 ===

Revision as of 15:41, 2 September 2011


Introduction

You can download Jetty as a distribution bundle, a Maven dependency, an OSGi bundle, or install it via a Debian/RPM distribution. When you download and unpack the binary, it is extracted into a directory called jetty-distribution-VERSION. Put this directory into a convenient location. The rest of the instructions in this wiki will refer to this location as either JETTY_HOME or as $(jetty.home).

Jetty@eclipse Download

  • Eclipse Downloads
    • Core Jetty Web Server (HTTP & Websocket)
    • Core Jetty Servlet Container
    • JNDI, JMX, OSGi, JASPI modules
    • HTTP Client
JETTY_VERSION=7.4.2.v20110526
wget http://download.eclipse.org/jetty/$JETTY_VERSION/dist/jetty-distribution-$JETTY_VERSION.tar.gz
tar xfz jetty-distribution-$JETTY_VERSION.tar.gz
cd jetty-distribution-$JETTY_VERSION
java -jar start.jar

Jetty@codehaus Download

  • Codehaus Downloads:
    • Hightide Application Server (Jetty WebServer plus EE features)
    • Jetty with non-eclipse modules: JSP, Spring, Terracotta, Openspaces, etc.
    • Jetty Maven plugin
    • Debian, RPM distributions
    • Older Jetty releases
wget http://dist.codehaus.org/jetty/jetty-hightide-8.0.0/jetty-hightide-8.0.0.v20110901.tar.gz
tar xfz jetty-hightide-8.0.0.v20110901.tar.gz
cd jetty-hightide-8.0.0.v20110901
java -jar start.jar

Maven Repositories

The distribution bundles from both Eclipse and Codehaus are available as Maven artefacts:

The individual Jetty modules are also available as Maven artefacts under the org.eclipse.jetty and org.mortbay.jetty group IDs. See Jetty/Howto/Use Jetty with Maven for more details.

OSGi Update Repositories

Jetty is available as OSGi bundles from P2 update sites: Jetty P2 Update

Linux Distributions

TBD

Distribution Contents

Here's a quick rundown of the distribution's contents. The top-level directory contains:

LICENSE-APACHE-2.0.TXT 
license file for Jetty (Jetty 7 is dual-licensed)
LICENSE-ECLIPSE-1.0.HTML 
license file for Jetty (Jetty 7 is dual-licensed)
META-INF 
for packaging
README.txt 
contains useful getting started information
VERSION.txt 
Release information
about.html 
"About This Content" page from Eclipse
bin 
utility shell scripts to help run Jetty on unix systems
contexts 
hot deploy contexts directory
etc 
directory for Jetty configuration files
javadoc 
contains the javadoc
lib 
contains all the JAR files necessary to run jetty
logs 
directory for request logs
notice.html 
licenses information and exceptions.
resources 
directory containing additional resources for classpath
start.ini 
Default start arguments
start.jar 
JAR which invokes jetty-7 (see also How to Run Jetty)
webapps 
directory containing webapps which will be run under the default configuration of Jetty; contains demo webapps


Jetty-6