Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Bonjours,
J'ai installé un serveur forge 1.12.2 afin de pouvoir jouer avec un ami (en ayant des mods).
Les mods et le serveur fonctionnent mais le serveur ne possède pas assez de ram allouer et lorsque l'on charge des nouveau chunk cela crash.
J'ai donc creer un fichier ".bat" ou j'ai rentrer sa :

@echo off
"%ProgramFiles%\Java\jre1.8.0_211\bin\java.exe" -Xms2048M -Xmx2048M -jar minecraft_server_mod.jar nogui
pause

Mais lorsque je le lance la cmd m'affiche :

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
Avez vous une solution ?

  • Author

minecraft_server_mod.jar it's my forge server (i only rename this file )

I don't use "minecraft_server.jar"

 

Sorry for my english 

 

  • Author

i have rename this file because when i write "forge 1.12.2-14.23.5.2836"(the server name when he wasn't rename" that doesn't work.

In my ".bat" i have

 @echo off
"%ProgramFiles%\Java\jre1.8.0_211\bin\java.exe" -Xms2048M -Xmx2048M -jar minecraft_server_mod.jar nogui
pause

and not 

 

@echo off
"%ProgramFiles%\Java\jre1.8.0_211\bin\java.exe" -Xms2048M -Xmx2048M -jar forge 1.12.2-14.23.5.2836 nogui
pause

(i don't remember the exact name of the server when i don't renamed

Yes i have use the installer in the official forge site.

my minecraft_server.jar don't use mods but i want to play whith mods so i use the forge server i have rename him in "minecraft_server_mod.jar"

Edited by GouzGouz
Add text

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.