Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

How to find out the version of Jetty

Jetty standalone

To get Jetty to print out it's version you can type:

Alternatively, look at the log file. The second line should be the version number in an INFO message. Like this:

:INFO:  jetty 6.0-beta14

Jetty plugin

Look at the INFO messages printed out by Jetty when the plugin starts up. After any build-related messages from Maven, you should see the following:

[INFO] Starting jetty 6.0-beta14 ...
:INFO:  jetty 6.0-beta14
. . .
[INFO] Started Jetty Server

Jetty embedded

If you want to print out the runtime version of Jetty, you can use the following code snippet:

  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery