{"id":256,"date":"2024-11-21T14:14:22","date_gmt":"2024-11-21T14:14:22","guid":{"rendered":"https:\/\/craftforge.dev\/?p=256"},"modified":"2024-11-21T14:14:23","modified_gmt":"2024-11-21T14:14:23","slug":"server-is-not-starting","status":"publish","type":"post","link":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/","title":{"rendered":"Server is not starting"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Wrong Java Version<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, open up a command prompt (cmd.exe). Then type &#8220;Java -version&#8221; inside it. It should look exactly like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">openjdk version &#8220;21.0.4&#8221; 2024-07-16 LTS<br>OpenJDK Runtime Environment Microsoft-9889606 (build 21.0.4+7-LTS)<br>OpenJDK 64-Bit Server VM Microsoft-9889606 (build 21.0.4+7-LTS, mixed mode, sharing)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the installation appears to be an &#8220;OpenJDK&#8221; labelled as a JRE instead of a JDK, it will not be compatible. You must install a JDK version of Java, ideally version 21 or higher, as the latest software requires Java 21, which was released in 2023. Since this is a recent release, many users may not have it installed yet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before you install anything, you need to uninstall the previous version of java. Go to &#8220;Add or remove programs&#8221;, and look up &#8220;java&#8221;. Uninstall the one that shows up. To confirm the deletion, open up a new command prompt (cmd.exe) window, not the old one we used earlier. And see if anything comes up. If there is a new message with no versions, then you successfully uninstalled it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now you can install the supported version of Java. This is used to develop the app &amp; all testing environments I use to see if the application works. The default version of Java is listed on the home page of the website page. Or you can download it here: <a href=\"https:\/\/learn.microsoft.com\/en-gb\/java\/openjdk\/download\">https:\/\/learn.microsoft.com\/en-gb\/java\/openjdk\/download<\/a> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ram Issues<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Due to the way Minecraft handles its RAM, it uses -Xmx and -Xms. You NEED to make sure -Xmx is at least the same value or higher than -Xms. Xms acts as a minimum amount of ram the server will take up. The default value I set was 1024Mb. So if you set your RAM to 512, it will allocate 1024Mb RAM, but give it 512Mb, causing the application to not know what to do, and cause it to crash instantly. If you go to your server Settings inside the terminal, you can see what your current RAM is set to. Make it 4096Mb if your system supports it and see if this has solved the issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If it does not, I suggest creating a new server to remove all possibilities of causing data deletion on a main server, and in case it may be a plugin causing the server to not run. If you create a new server and it works flawlessly. Then I suggest copying the server.jar file from the other server to this new one. And see if it&#8217;s the jar. As there may be a new release of that current server which is no longer supported. Which has happened in the past.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Any other issues?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Contact me on my discord server, <a href=\"https:\/\/discord.gg\/WnMHt7Dteb\">https:\/\/discord.gg\/WnMHt7Dteb<\/a> and ask in #support, or Private message me. I will be happy to help out when I can.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wrong Java Version First, open up a command prompt (cmd.exe). Then type &#8220;Java -version&#8221; inside it. It should look exactly [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[11],"tags":[16],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-help","tag-server-not-working"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Server is not starting - CraftForge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Server is not starting - CraftForge\" \/>\n<meta property=\"og:description\" content=\"Wrong Java Version First, open up a command prompt (cmd.exe). Then type &#8220;Java -version&#8221; inside it. It should look exactly [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/\" \/>\n<meta property=\"og:site_name\" content=\"CraftForge\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-21T14:14:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-21T14:14:23+00:00\" \/>\n<meta name=\"author\" content=\"Developer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Developer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/\"},\"author\":{\"name\":\"Developer\",\"@id\":\"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1\"},\"headline\":\"Server is not starting\",\"datePublished\":\"2024-11-21T14:14:22+00:00\",\"dateModified\":\"2024-11-21T14:14:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/\"},\"wordCount\":470,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1\"},\"keywords\":[\"Server not working\"],\"articleSection\":[\"Help\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/\",\"url\":\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/\",\"name\":\"Server is not starting - CraftForge\",\"isPartOf\":{\"@id\":\"https:\/\/craftforge.dev\/#website\"},\"datePublished\":\"2024-11-21T14:14:22+00:00\",\"dateModified\":\"2024-11-21T14:14:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/craftforge.dev\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Server is not starting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/craftforge.dev\/#website\",\"url\":\"https:\/\/craftforge.dev\/\",\"name\":\"CraftForge\",\"description\":\"craftforge.dev\",\"publisher\":{\"@id\":\"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/craftforge.dev\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1\",\"name\":\"Developer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/craftforge.dev\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/craftforge.dev\/wp-content\/uploads\/2024\/10\/cropped-logo.jpeg\",\"contentUrl\":\"https:\/\/craftforge.dev\/wp-content\/uploads\/2024\/10\/cropped-logo.jpeg\",\"width\":512,\"height\":512,\"caption\":\"Developer\"},\"logo\":{\"@id\":\"https:\/\/craftforge.dev\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/craftforge.dev\"],\"url\":\"https:\/\/craftforge.dev\/index.php\/author\/adragz\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Server is not starting - CraftForge","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:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/","og_locale":"en_GB","og_type":"article","og_title":"Server is not starting - CraftForge","og_description":"Wrong Java Version First, open up a command prompt (cmd.exe). Then type &#8220;Java -version&#8221; inside it. It should look exactly [&hellip;]","og_url":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/","og_site_name":"CraftForge","article_published_time":"2024-11-21T14:14:22+00:00","article_modified_time":"2024-11-21T14:14:23+00:00","author":"Developer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Developer","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#article","isPartOf":{"@id":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/"},"author":{"name":"Developer","@id":"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1"},"headline":"Server is not starting","datePublished":"2024-11-21T14:14:22+00:00","dateModified":"2024-11-21T14:14:23+00:00","mainEntityOfPage":{"@id":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/"},"wordCount":470,"commentCount":0,"publisher":{"@id":"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1"},"keywords":["Server not working"],"articleSection":["Help"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/","url":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/","name":"Server is not starting - CraftForge","isPartOf":{"@id":"https:\/\/craftforge.dev\/#website"},"datePublished":"2024-11-21T14:14:22+00:00","dateModified":"2024-11-21T14:14:23+00:00","breadcrumb":{"@id":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/craftforge.dev\/index.php\/2024\/11\/21\/server-is-not-starting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/craftforge.dev\/"},{"@type":"ListItem","position":2,"name":"Server is not starting"}]},{"@type":"WebSite","@id":"https:\/\/craftforge.dev\/#website","url":"https:\/\/craftforge.dev\/","name":"CraftForge","description":"craftforge.dev","publisher":{"@id":"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/craftforge.dev\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/craftforge.dev\/#\/schema\/person\/cca59a7ad718e0056a2c03b05be73ee1","name":"Developer","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/craftforge.dev\/#\/schema\/person\/image\/","url":"https:\/\/craftforge.dev\/wp-content\/uploads\/2024\/10\/cropped-logo.jpeg","contentUrl":"https:\/\/craftforge.dev\/wp-content\/uploads\/2024\/10\/cropped-logo.jpeg","width":512,"height":512,"caption":"Developer"},"logo":{"@id":"https:\/\/craftforge.dev\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/craftforge.dev"],"url":"https:\/\/craftforge.dev\/index.php\/author\/adragz\/"}]}},"_links":{"self":[{"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":2,"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":258,"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/posts\/256\/revisions\/258"}],"wp:attachment":[{"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craftforge.dev\/index.php\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}