Minecraft 1.18 server jar not working

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

OS Name/Version: Windows 10 Pro

Product Name/Version: (Always use the full version number - not ‘Latest’) Direwolf20 1.18 1.8.0

Problem Description: I am able to download the Forge (40.1.67) successfully and the Direwolf20 1.18 1.8.0 pack. The only jar file available in the root of Minecraft appears to be the vanilla one (minecraft_server.1.18.2.jar). I’m unable to find the proper jar file to run for forge to load the mods.

If you're sharing console output, logs, or commands you have run, please make sure to use code tags 
(3x backticks for blocks, 1x backtick for a single line) to help make posts readable. This also
provides syntax highlighting.

Steps to reproduce:

  • Step 1 - Create new instance of Minecraft desktop Java edition
  • Step 2 - Set server type to Forge.
  • Step 3 - Select specific version 40.1.67
  • Step 4 - Switch to Feed the Beast New Source
  • Step 5 - Select Direwolf20 1.18 1.8.0

Actions taken to resolve so far: Wiped the Minecraft folder multiple times and reinstalled. Tried the forge-1.18.2-40.1.67-installer.jar created by Forge install. Copied both the server and universal jar files from “C:\AMPDatastore\Instances\Direwolf20118\Minecraft\libraries\net\minecraftforge\forge\1.18.2-40.1.67” to the root of Minecraft. None of those options work. Using the vanilla minecraft_server.1.18.2.jar does load properly.

Minecraft 1.18 server jar not working
Minecraft 1.18 server jar not working
Minecraft 1.18 server jar not working
Minecraft 1.18 server jar not working
Minecraft 1.18 server jar not working
Follow Us

Minecraft 1.18 server jar not working
Share

Minecraft 1.18 server jar not working
Minecraft 1.18 server jar not working
Minecraft 1.18 server jar not working

Show More Comments

Minecraft 1.18 server jar not working

Minecraft 1.18 server jar not working
0
Minecraft 1.18 server jar not working
0

Minecraft 1.18 server jar not working
Reply

Minecraft 1.18 server jar not working

x

Minecraft 1.18 server jar not working
  Edit
Minecraft 1.18 server jar not working
  Delete

Minecraft 1.18 server jar not working
Delete the comment?

No thanks

Delete

GIF

Cancel

Update

Minecraft 1.18 server jar not working
Reply

❮❯

Firstly, you need the Forge installer, which can be downloaded from the official Forge download page. Once downloaded, launch it and choose option "Install server". If you're installing Forge on a headless server with no graphical interface, run the following command in the directory where you downloaded the jar installer (replace "x.xx.x" with the correct version number for the installer you downloaded):

java -jar forge-x.xx.x-installer.jar --installServer

If you get an error about "Downloading Minecraft server failed, invalid e-tag checksum.", you will need to install a vanilla Minecraft server and then run Forge installer. The vanilla server can be downloaded in its respective page.

If you get an error about "There are already files at the target directory", click on the three dots to choose the current location of your Minecraft server (the video shows this).

Once you started vanilla server (don't forget to change EULA), install Forge and you are done. Now you can launch Forge server by double clicking "forge-version-xx.xx.x.xxxx-version.universal.jar" or using the command below.

Video version[]

This tutorial is intended for Windows users, but may be of some use to users who use other operating systems (Mac, Linux).

Information[]

  • Minecraft Forge page from video
  • Minecraft Forge Files/Releases
  • Minecraft Forge website
  • Server start text used in the video:
java -Xmx1024M -Xms1024M -jar FORGE_FILE_NAME.jar --nogui
PAUSE

1.5 and prior[]

This tutorial is intended for Windows users, but may be of some use to users who use other operating systems (Mac, Linux)

Information[]

  • Latest Minecraft Server
  • Minecraft Forge 1.5.2
  • Minecraft Forge 1.5.1
  • Minecraft Forge 1.5
  • Minecraft Forge 1.4.7
  • Minecraft Forge website
  • Server start text:
java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar --nogui
PAUSE

you can give the server more memory by changing the 1024 to a multiple of 1024

Notice[]

If the server start text doesn't work then try renaming the SERVER_FILE_NAME to 'SERVER_FILE_NAME.jar' without the apostrophes. Or you could use this server start text instead:

java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar --nogui
PAUSE

If you receive the "Java is not recognized" message, replace "java" with its file location. (e.g.: "C:\Program Files (x86)\Java\jre7\bin\javaw.exe") The full string would be:

"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1G -Xms1G -jar FORGE_FILE_NAME.jar --nogui
PAUSE


If you receive the "A problem occured running the Server launcher.java.lang.reflect.InvocationTargetException" message, try downloading and installing JRE 8 and point to it's destination on run. This would look like:

What Java Do I need to run 1.18 server?

For version 1.18, JRE version 17 is required.

How do I run a jar file on a Minecraft server?

Go to the Minecraft Server Downloads page and download minecraft_server.1.11.jar..
Once the download finishes, copy minecraft_server.1.11.jar into a new folder on your desktop and call this folder "Minecraft Server"..
Double-click minecraft_server.1.11.jar to run it..

How do I fix JNI error in Java Minecraft 1.18 server?

This a JNI error has occurred Minecraft server error occurs when you try to start Minecraft or a Minecraft server on a PC that does not have the latest version installed. To fix this, you just need to update your current Java to the latest version.

Why is my Minecraft server not launching?

Try disabling any existing firewall program or changing its configuration options. Restart your modem/router. You may also want to try logging out of your account and then logging back in, as this refreshes your profile's authentication and connection with our servers.