{"id":44572,"date":"2023-04-05T12:30:53","date_gmt":"2023-04-05T17:30:53","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=44572"},"modified":"2023-06-01T10:19:52","modified_gmt":"2023-06-01T15:19:52","slug":"how-to-install-jetty-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/","title":{"rendered":"How to Install Jetty on Ubuntu 22.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp\" alt=\"install jetty on ubuntu 22.04\" class=\"wp-image-45212\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04-300x150.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04-150x75.webp 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Jetty or Eclipse Jetty is a Java web server and Java servlet container. Jetty is free and open-source software used to establish communication from one machine to another, unlike the usual web servers that serve documents from server to user. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>In this blog post, we will install Jetty with Apache as a reverse proxy and will secure the connection with <a href=\"https:\/\/www.rosehosting.com\/blog\/free-lets-encrypt-ssl-certificate-alternatives\/\">Free Let&#8217;s Encrypt SSL certificate.<\/a> Let&#8217;s get started!<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fd0b8de73e5\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fd0b8de73e5\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#Step-1-Update-the-System\" >Step 1. Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#Step-2-Install-Java-OpenJDK-8\" >Step 2. Install Java OpenJDK 8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#Step-3-Install-Jetty-9\" >Step 3. Install Jetty 9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#Step-4-Install-Apache-Web-Server\" >Step 4. Install Apache Web Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#Step-5-Configure-Jetty-with-Apache-as-a-Reverse-Proxy\" >Step 5. Configure Jetty with Apache as a Reverse Proxy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#Step-6-Install-Free-Lets-Encrypt-SSL-certificate\" >Step 6. Install Free Let&#8217;s Encrypt SSL certificate<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server with Ubuntu 22.04 OS<\/li>\n\n\n\n<li>A valid domain with pointed A record to the server <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/\">IP address<\/a><\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1. Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>It is recommended to have a fresh installation of Ubuntu 22.04 for this setup. After every fresh installation of the OS, we need to update the system packages to the latest versions available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Java-OpenJDK-8\"><\/span>Step 2. Install Java OpenJDK 8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The Java OpenJDK version 18 is already included in the Ubuntu 22.04 repo. so we install it we need to execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install openjdk-8-jdk -y<\/pre>\n\n\n\n<p>Once installed, execute the following command to check the installed Java version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">java -version<\/pre>\n\n\n\n<p>You will receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# java -version\nopenjdk version \"1.8.0_352\"\nOpenJDK Runtime Environment (build 1.8.0_352-8u352-ga-1~22.04-b08)\nOpenJDK 64-Bit Server VM (build 25.352-b08, mixed mode)\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-Jetty-9\"><\/span>Step 3. Install Jetty 9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install Jetty 9, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install jetty9 -y<\/pre>\n\n\n\n<p>Once installed, start and enable the jetty service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl enable jetty9 &amp;&amp; sudo systemctl start jetty9<\/pre>\n\n\n\n<p>Check if the service is up and running:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status jetty9<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status jetty9\n\u25cf jetty9.service - Jetty 9 Web Application Server\n     Loaded: loaded (\/lib\/systemd\/system\/jetty9.service; enabled; vendor preset: enabled)\n     Active: active (running) since Tue 2022-12-27 16:08:48 CST; 1min 49s ago\n       Docs: https:\/\/www.eclipse.org\/jetty\/documentation\/current\/\n   Main PID: 5443 (java)\n      Tasks: 25 (limit: 4575)\n     Memory: 78.8M\n        CPU: 4.176s\n     CGroup: \/system.slice\/jetty9.service\n             \u2514\u25005443 \/usr\/bin\/java -Djetty.home=\/usr\/share\/jetty9 -Djetty.base=\/usr\/share\/jetty9 \n<\/pre>\n\n\n\n<p>The jetty service is running on port <b>8080<\/b>. To check this, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">netstat -tunlp | grep 8080<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# netstat -tunlp | grep 8080\ntcp6       0      0 :::<b>8080<\/b>                 :::*                    LISTEN      <b>5443\/java<\/b>\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-Apache-Web-Server\"><\/span>Step 4. Install Apache Web Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install Apache, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install apache2 -y<\/pre>\n\n\n\n<p>Once installed, start and enable the service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl enable apache2 &amp;&amp; sudo systemctl start apache2<\/pre>\n\n\n\n<p>Check if the service is up and running:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status apache2<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status apache2\n\u25cf apache2.service - The Apache HTTP Server\n     Loaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)\n     Active: active (running) since Tue 2022-12-27 09:38:49 CST; 6h ago\n       Docs: https:\/\/httpd.apache.org\/docs\/2.4\/\n   Main PID: 744 (apache2)\n      Tasks: 55 (limit: 4575)\n     Memory: 10.2M\n        CPU: 1.542s\n     CGroup: \/system.slice\/apache2.service\n             \u251c\u2500744 \/usr\/sbin\/apache2 -k start\n             \u251c\u2500787 \/usr\/sbin\/apache2 -k start\n             \u2514\u2500788 \/usr\/sbin\/apache2 -k start\n\nDec 27 09:38:49 host.test.tk systemd[1]: Starting The Apache HTTP Server...\nDec 27 09:38:49 host.test.tk systemd[1]: Started The Apache HTTP Server.\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Configure-Jetty-with-Apache-as-a-Reverse-Proxy\"><\/span>Step 5. Configure Jetty with Apache as a Reverse Proxy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Go into the Apache directory and create a configuration file for the Jetty.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/etc\/apache2\/sites-available\/\n\ntouch jetty.conf\n<\/pre>\n\n\n\n<p>Open the file, paste the following lines of code, save the file and close it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;VirtualHost *:80&gt;\nServerName <b>yourdomain.com<\/b>\nDocumentRoot \/var\/www\/html\/\n\n&lt;Directory \/var\/www\/html&gt;\nAllowOverride All\n&lt;\/Directory&gt;\n\nProxyRequests off\nProxyPass \/ <b>http:\/\/127.0.0.1:8080\/<\/b>\nProxyPassReverse \/ <b>http:\/\/127.0.0.1:8080\/<\/b>\n\nErrorLog ${APACHE_LOG_DIR}\/error.log\nCustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n&lt;\/VirtualHost&gt;\n\n<\/pre>\n\n\n\n<p>Enable the Apache configuration for Jetty and rewrite the module.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">a2dissite 000-default.conf\n\na2enmod proxy\n\na2enmod proxy_http\n\nsudo a2enmod rewrite\n\nsudo a2ensite jetty.conf\n<\/pre>\n\n\n\n<p>Check the syntax:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apachectl -t<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# apachectl -t\nSyntax OK\n<\/pre>\n\n\n\n<p>If the syntax is OK, restartd the Apache service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl restart apache2\n<\/pre>\n\n\n\n<p>Once the Apache service is restarted, you can access Jetyy via your domain at <b>http:\/\/yourdomain.com<\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Install-Free-Lets-Encrypt-SSL-certificate\"><\/span>Step 6. Install Free Let&#8217;s Encrypt SSL certificate<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install the Free Let&#8217;s Encrypt SSL certificate first install the Certbot:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install certbot python3-certbot-apache -y<\/pre>\n\n\n\n<p>Once installed, generate the certificate with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">certbot --apache -d yourdomain.com<\/pre>\n\n\n\n<p>In the next steps, you need to add your email, confirm the license agreements, not share your email address and etc.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:\/etc\/apache2\/sites-available# <b>certbot --apache -d yourdomain.com<\/b>\nSaving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\nEnter email address (used for urgent renewal and security notices)\n (Enter 'c' to cancel): <b>admin@yourdomain.com<\/b>\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nPlease read the Terms of Service at\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.3-September-21-2022.pdf. You must\nagree in order to register with the ACME server. Do you agree?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o:<b> Y<\/b>\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nWould you be willing, once your first certificate is successfully issued, to\nshare your email address with the Electronic Frontier Foundation, a founding\npartner of the Let's Encrypt project and the non-profit organization that\ndevelops Certbot? We'd like to send you email about our work encrypting the web,\nEFF news, campaigns, and ways to support digital freedom.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o: <b>N<\/b>\nAccount registered.\nRequesting a certificate for yourdomain.com\n\nSuccessfully received certificate.\nCertificate is saved at: <b>\/etc\/letsencrypt\/live\/yourdomain.com\/fullchain.pem<\/b>\nKey is saved at:         <b>\/etc\/letsencrypt\/live\/yourdomain.com\/privkey.pem<\/b>\nThis certificate expires on 2023-03-27.\nThese files will be updated when the certificate renews.\nCertbot has set up a scheduled task to automatically renew this certificate in the background.\n\nDeploying certificate\nSuccessfully deployed certificate for yourdomain.com to \/etc\/apache2\/sites-available\/jetty-le-ssl.conf\nCongratulations! You have successfully enabled HTTPS on https:\/\/yourdomain.com\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n * Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate\n * Donating to EFF:                    https:\/\/eff.org\/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n<\/pre>\n\n\n\n<p>Now, you can access your Jetty service securely at <b>https:\/\/yourdomain.com<\/b>.<\/p>\n\n\n\n<p>That&#8217;s it. You successfully installed and configured Jetty with Apache as a reverse proxy. If you find this setup difficult, you can always contact our technical support, and they will do the rest. We are available 24\/7, and we are ready to help you. You just need to sign up for one of <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\">our NVMe VPS plans<\/a> and submit a support ticket.<\/p>\n\n\n\n<p>If you liked this post about installing Jetty on Ubuntu 22.04, please share it with your friends on social networks using the buttons on the left or simply leave a reply below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jetty or Eclipse Jetty is a Java web server and Java servlet container. Jetty is free and open-source software used &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Jetty on Ubuntu 22.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#more-44572\" aria-label=\"Read more about How to Install Jetty on Ubuntu 22.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":45212,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1707],"tags":[1603,905,59],"class_list":["post-44572","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-web-servers","tag-how-to-install","tag-jetty","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Jetty on Ubuntu 22.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let&#039;s dive right in and learn more about this topic.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Jetty on Ubuntu 22.04\" \/>\n<meta property=\"og:description\" content=\"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let&#039;s dive right in and learn more about this topic.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-05T17:30:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-01T15:19:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install Jetty on Ubuntu 22.04\" \/>\n<meta name=\"twitter:description\" content=\"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let&#039;s dive right in and learn more about this topic.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Jetty on Ubuntu 22.04\",\"datePublished\":\"2023-04-05T17:30:53+00:00\",\"dateModified\":\"2023-06-01T15:19:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/\"},\"wordCount\":506,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-jetty-on-ubuntu-22-04.webp\",\"keywords\":[\"how to install\",\"jetty\",\"ubuntu\"],\"articleSection\":[\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/\",\"name\":\"How to Install Jetty on Ubuntu 22.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-jetty-on-ubuntu-22-04.webp\",\"datePublished\":\"2023-04-05T17:30:53+00:00\",\"dateModified\":\"2023-06-01T15:19:52+00:00\",\"description\":\"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let's dive right in and learn more about this topic.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-jetty-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-jetty-on-ubuntu-22-04.webp\",\"width\":742,\"height\":372,\"caption\":\"install jetty on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jetty-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Jetty on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Jetty on Ubuntu 22.04 | RoseHosting","description":"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let's dive right in and learn more about this topic.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Jetty on Ubuntu 22.04","og_description":"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let's dive right in and learn more about this topic.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-04-05T17:30:53+00:00","article_modified_time":"2023-06-01T15:19:52+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install Jetty on Ubuntu 22.04","twitter_description":"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let's dive right in and learn more about this topic.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Jetty on Ubuntu 22.04","datePublished":"2023-04-05T17:30:53+00:00","dateModified":"2023-06-01T15:19:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/"},"wordCount":506,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp","keywords":["how to install","jetty","ubuntu"],"articleSection":["Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/","name":"How to Install Jetty on Ubuntu 22.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp","datePublished":"2023-04-05T17:30:53+00:00","dateModified":"2023-06-01T15:19:52+00:00","description":"Installing Jetty on Ubuntu 22.04 with our expert help should be a breeze. Let's dive right in and learn more about this topic.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-jetty-on-ubuntu-22-04.webp","width":742,"height":372,"caption":"install jetty on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jetty-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Jetty on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=44572"}],"version-history":[{"count":7,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44572\/revisions"}],"predecessor-version":[{"id":46034,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44572\/revisions\/46034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/45212"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=44572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=44572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=44572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}