Jetty

Jetty is a lightweight, highly scalable, Java-based web server and Servlet engine that serves websites and web applications with strong protocol support for…

  • Development
  • Tools & Utilities
  • Web & Publishing
Jetty is a lightweight, highly scalable, Java-based web server and Servlet engine that serves websites and web applications with strong protocol support for developers and self-hosters who need reliable, embeddable hosting.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

66/100 Good

Maintained
100last commit 5 days ago
Popular
724,101 GitHub stars
Easy to install
150 install platforms, install notes
Light to run
304 GB minimum RAM
GitHub stars
4,101
Open issues
262
Last commit
2026-11-16
Latest release
jetty-12.1.15
Activity
steady

Checked 4 days ago - source: GitHub (eclipse/jetty.project)

Resources & Compatibility

Minimum requirements: 4 GB RAM.

Checked 41 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Start with HTTP and set your port When starting Jetty, use --module=http and set jetty.http.port to a free port number, like 9876. If you skip this, Jetty may not be reachable at the web address you expect. source
  • Point Java to your Jetty folder Start Jetty with java -jar $JETTY_HOME/start.jar, where $JETTY_HOME is the environment variable that stores your Jetty install path. If that path is missing or wrong, Java cannot find start.jar and Jetty won't start. source
  • Approve modules before adding extras If you add SSL (encrypted connections) or HTTP/3, include those modules and use --approve-all-licenses once. Without it, Jetty may refuse to start those extras because it has not accepted their licenses. source
  • Start a Jetty webapp Set JETTY_HOME to your Jetty folder, then run java -jar $JETTY_HOME/start.jar --add-modules=http,ee11-deploy to start HTTP and deploy a webapp. source

Fetched 41 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How do I make Jetty use a specific port?

Use --module=http and set jetty.http.port to a free port number, such as 9876, when starting Jetty. If you skip this, Jetty may not be reachable at the web address you expect.

Why does Java fail to start Jetty?

Start Jetty with java -jar $JETTY_HOME/start.jar, where $JETTY_HOME points to the Jetty install path. If that path is missing or wrong, Java cannot find start.jar and Jetty won't start.

How do I deploy a web app WAR to Jetty?

Create a Jetty base directory, run start.jar with --add-modules=http,ee11-deploy, copy the .war into webapps, and run start.jar again.

How do I find documentation for an older Jetty release?

Jetty documentation is split by major version. Documentation for earlier releases is available in Maven Central.

How do I enable SSL or HTTP/3 in Jetty?

Include the required modules and use --approve-all-licenses once. Without that, Jetty may refuse to start the extras because their licenses have not been accepted.

How can I build Jetty from source quickly?

Clone the jetty.project repository, enter the jetty.project directory, and run mvn -Pfast clean install. The fast build bypasses tests and other checks.

Answers sourced from github.com, github.com, github.com, github.com, jetty.org

Community

Collected 48 days ago - public community threads