{"id":406,"date":"2012-06-07T20:17:34","date_gmt":"2012-06-07T20:17:34","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=406"},"modified":"2022-06-03T03:52:28","modified_gmt":"2022-06-03T08:52:28","slug":"how-to-install-tomcat-7-jdk-7","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/","title":{"rendered":"How to install Tomcat 7 + JDK 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo_and_wordmark.svg_.png\"><img decoding=\"async\" class=\"alignleft size-full wp-image-2485\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo_and_wordmark.svg_.png\" alt=\"Java_logo_and_wordmark.svg\" width=\"154\" height=\"283\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo_and_wordmark.svg_.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo_and_wordmark.svg_-163x300.png 163w\" sizes=\"(max-width: 154px) 100vw, 154px\" \/><\/a>This how-to will show you how to install Tomcat 7.x and JDK 7.x (Java Development Kit) on a <a title=\"CentOS VPS\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS VPS<\/a>.<\/p>\n<p>You could get one of our <a title=\"Java Hosting\" href=\"https:\/\/www.rosehosting.com\/java-hosting\/java-vps.html\" target=\"_blank\" rel=\"noopener noreferrer\">Java Hosting<\/a> plans and have everything already installed and configured but if you want to do it yourself just follow the tutorial below.<\/p>\n<p><strong><!--more-->1. Install JDK<\/strong><br \/>\nChoose the correct version for your OS and download the latest JDK release from http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html<\/p>\n<p>Create a new &#8216;\/usr\/java&#8217; directory, move the downloaded &#8216;jdk&#8217; file to &#8216;\/usr\/java&#8217; and change to the created directory:<\/p>\n<pre class=\"brush: shell; gutter: true\"># mkdir \/usr\/java &amp;&amp; mv jdk-7u4-linux-i586.tar.gz \/usr\/java\/ &amp;&amp; cd \/usr\/java\/<\/pre>\n<p>Unpack jdk-7u4-linux-i586.tar.gz file:<\/p>\n<pre class=\"brush: shell; gutter: true\"># tar -xzf jdk-7u4-linux-i586.tar.gz<\/pre>\n<p>This will create directory, in our case it&#8217;s &#8216;jdk1.7.0_04&#8217;<\/p>\n<p>To set the &#8216;JAVA_HOME&#8217; path add the lines below to your &#8216;.bash_profile&#8217; file:<\/p>\n<pre class=\"brush: shell; gutter: true\">export JAVA_HOME=\/usr\/java\/jdk1.7.0_04\/\r\nexport PATH=$JAVA_HOME\/bin:$PATH\r\nexport PATH=$PATH:$JAVA_HOME\/bin<\/pre>\n<p>For the changes to take effect execute:<\/p>\n<pre class=\"brush: shell; gutter: true\"># source .bash_profile<\/pre>\n<p>Check if the &#8216;JAVA_HOME&#8217; is set correctly:<\/p>\n<pre class=\"brush: shell; gutter: true\"># echo $JAVA_HOME\r\n# \/usr\/java\/jdk1.7.0_04\/<\/pre>\n<p><strong>2. Install Tomcat 7<\/strong><\/p>\n<p>Download the latest Tomcat release (currently 7.0.27) from http:\/\/tomcat.apache.org\/download-70.cgi<\/p>\n<pre class=\"brush: shell; gutter: true\"># wget http:\/\/mirror.metrocast.net\/apache\/tomcat\/tomcat-7\/v7.0.27\/bin\/apache-tomcat-7.0.27.tar.gz<\/pre>\n<p>Move the file and change to the &#8216;\/usr\/share\/&#8217; directory:<\/p>\n<pre class=\"brush: shell; gutter: true\"># mv apache-tomcat-7.0.27.tar.gz \/usr\/share\/ &amp;&amp; cd \/usr\/share\/<\/pre>\n<p>Unpack &#8216;apache-tomcat-7.0.27.tar.gz&#8217; file:<\/p>\n<pre class=\"brush: shell; gutter: true\"># tar -xzf apache-tomcat-7.0.27.tar.gz<\/pre>\n<p>This will create &#8216;\/usr\/share\/apache-tomcat-7.0.27&#8217; directory. Optionally, you can rename this directory to &#8216;tomcat7&#8217;:<\/p>\n<pre class=\"brush: shell; gutter: true\"># mv \/usr\/share\/apache-tomcat-7.0.27\/ \/usr\/share\/tomcat7<\/pre>\n<p>To configure Tomcat 7 to run as a service, change to the &#8216;\/etc\/init.d\/&#8217;:<\/p>\n<pre class=\"brush: shell; gutter: true\"># cd \/etc\/init.d\/<\/pre>\n<p>Using your favorite text editor, create a script called &#8216;tomcat&#8217; with the following text:<\/p>\n<pre class=\"brush: shell; gutter: true\">#!\/bin\/bash\r\n# description: Tomcat Start - Stop - Restart\r\n# processname: tomcat\r\n# chkconfig: 234 20 80\r\nJAVA_HOME=\/usr\/java\/jdk1.7.0_04\r\nexport JAVA_HOME\r\nPATH=$JAVA_HOME\/bin:$PATH\r\nexport PATH\r\nCATALINA_HOME=\/usr\/share\/tomcat7 \r\n\r\ncase $1 in\r\nstart)\r\necho \"Starting Tomcat\"\r\nsh $CATALINA_HOME\/bin\/startup.sh\r\n;;\r\nstop)\r\necho \"Stopping Tomcat\"\r\nsh $CATALINA_HOME\/bin\/shutdown.sh\r\n;;\r\nrestart)\r\necho \"Restarting Tomcat\"\r\nsh $CATALINA_HOME\/bin\/shutdown.sh\r\nsh $CATALINA_HOME\/bin\/startup.sh\r\n;;\r\n*)\r\necho $\"Usage: $0 {start|stop}\"\r\nexit 1\r\n;;\r\nesac\r\nexit 0<\/pre>\n<p>Make your script executable:<\/p>\n<pre class=\"brush: shell; gutter: true\"># chmod +x tomcat<\/pre>\n<p>Make your Tomcat to start at boot time:<\/p>\n<pre class=\"brush: shell; gutter: true\"># chkconfig --add tomcat\r\n# chkconfig --level 3 tomcat on<\/pre>\n<p>Check if it is setup correctly:<\/p>\n<pre class=\"brush: shell; gutter: true\"># chkconfig --list tomcat<\/pre>\n<p>The default Tomcat port is 8080, so you can try to access it at http:\/\/domain.com:8080 where you should see Tomcat&#8217;s default home page.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This how-to will show you how to install Tomcat 7.x and JDK 7.x (Java Development Kit) on a CentOS VPS. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install Tomcat 7 + JDK 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#more-406\" aria-label=\"Read more about How to install Tomcat 7 + JDK 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":1142,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,13,1707],"tags":[87,34,77,88,89,1152,90],"class_list":["post-406","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-tutorials","category-web-servers","tag-apache-tomcat","tag-centos","tag-java","tag-java-development-kit","tag-jdk","tag-rosehosting","tag-tomcat","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Tomcat 7 + JDK 7 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install Tomcat 7 + JDK 7 | RoseHosting\" \/>\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-tomcat-7-jdk-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Tomcat 7 + JDK 7\" \/>\n<meta property=\"og:description\" content=\"How to install Tomcat 7 + JDK 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/\" \/>\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=\"2012-06-07T20:17:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:52:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo.svg_.png\" \/>\n\t<meta property=\"og:image:width\" content=\"75\" \/>\n\t<meta property=\"og:image:height\" content=\"138\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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=\"2 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-tomcat-7-jdk-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install Tomcat 7 + JDK 7\",\"datePublished\":\"2012-06-07T20:17:34+00:00\",\"dateModified\":\"2022-06-03T08:52:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/\"},\"wordCount\":292,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/06\\\/Java_logo.svg_.png\",\"keywords\":[\"Apache Tomcat\",\"centos\",\"java\",\"Java Development Kit\",\"jdk\",\"rosehosting\",\"tomcat\"],\"articleSection\":[\"CentOS\",\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/\",\"name\":\"How to install Tomcat 7 + JDK 7 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/06\\\/Java_logo.svg_.png\",\"datePublished\":\"2012-06-07T20:17:34+00:00\",\"dateModified\":\"2022-06-03T08:52:28+00:00\",\"description\":\"How to install Tomcat 7 + JDK 7 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/06\\\/Java_logo.svg_.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/06\\\/Java_logo.svg_.png\",\"width\":\"75\",\"height\":\"138\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-7-jdk-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Tomcat 7 + JDK 7\"}]},{\"@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 Tomcat 7 + JDK 7 | RoseHosting","description":"How to install Tomcat 7 + JDK 7 | RoseHosting","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-tomcat-7-jdk-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install Tomcat 7 + JDK 7","og_description":"How to install Tomcat 7 + JDK 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2012-06-07T20:17:34+00:00","article_modified_time":"2022-06-03T08:52:28+00:00","og_image":[{"width":75,"height":138,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo.svg_.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install Tomcat 7 + JDK 7","datePublished":"2012-06-07T20:17:34+00:00","dateModified":"2022-06-03T08:52:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/"},"wordCount":292,"commentCount":5,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo.svg_.png","keywords":["Apache Tomcat","centos","java","Java Development Kit","jdk","rosehosting","tomcat"],"articleSection":["CentOS","Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/","name":"How to install Tomcat 7 + JDK 7 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo.svg_.png","datePublished":"2012-06-07T20:17:34+00:00","dateModified":"2022-06-03T08:52:28+00:00","description":"How to install Tomcat 7 + JDK 7 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo.svg_.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/06\/Java_logo.svg_.png","width":"75","height":"138"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-7-jdk-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Tomcat 7 + JDK 7"}]},{"@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\/406","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=406"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/406\/revisions"}],"predecessor-version":[{"id":42316,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/406\/revisions\/42316"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/1142"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}