Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty/Howto/Run Jetty"
(→Eclipse Startup) |
(→Standalone Startup) |
||
Line 4: | Line 4: | ||
===Using the Start.jar=== | ===Using the Start.jar=== | ||
+ | |||
+ | The easiest way to start jetty, is to use the start.jar that comes with the distribution. | ||
+ | |||
+ | [jetty-distribution-7.0.0.M3]$ java -jar start.jar | ||
===Command Line Options=== | ===Command Line Options=== | ||
+ | |||
+ | $ java -jar start.jar --help | ||
+ | Usage: java -jar start.jar [--help|--stop|--version] [OPTIONS=option,...] [name=value ...] [config ...] | ||
+ | |||
+ | |||
===Startup Modes=== | ===Startup Modes=== |
Revision as of 16:43, 1 July 2009
Contents
Standalone Startup
Using the Start.jar
The easiest way to start jetty, is to use the start.jar that comes with the distribution.
[jetty-distribution-7.0.0.M3]$ java -jar start.jar
Command Line Options
$ java -jar start.jar --help Usage: java -jar start.jar [--help|--stop|--version] [OPTIONS=option,...] [name=value ...] [config ...]
Startup Modes
Alternative Startup Techniques
Embedded Startup
Jetty can be configured and started as an embedded Web App Server from within another Java program. See Embedded Jetty for more details.
Eclipse Startup
Eclipse can be started up from within Eclipse using a variety of techniques, see Use Jetty with Eclipse IDE for details.