• Mitspieler gesucht? Du willst dich locker mit der Community austauschen? Schau gerne auf unserem ComputerBase Discord vorbei!

Minecraft Minecraft - server.jar schließt sich von selbst

Nalar

Cadet 2nd Year
Registriert
Mai 2016
Beiträge
29
Hallo

Ich habe neuerdings ein kleines Problem mit meinen Minecraft Server.

Ich spiele zusammen mit einen Kumpel schon sehr lange MC und haben uns unsere Welt dort gemeinsam aufgebaut.
Ich selbst verwalte den Server und alles lief bisher ohne große Probleme.

Doch jetzt gibt es ein Problem wo ich auf keine Lösung komme und im Netz auch groß nichts darüber finde.
Ich nutze für den Server diese Server.jar Datei. Und diese schließt sich jetzt immer nach 5-10 Minuten von selbst. Das war vorher nie der Fall gewesen, deswegen verwundert mich das jetzt total.

Java, MC etc ist auch alles auf den neusten Stand.
Ich habe selbst auch keine Ahnung was ich da machen kann, da ich mich nicht so auskenne was das angeht.

Ich selbst glaube es liegt an unserer Welt. Weil wir mal eine neue Welt erstellt haben und da lief es wieder wunderbar.
Doch wir wollen unsere Welt nicht so einfach aufgeben, da wir da schon fast seid 2 Jahren gebaut haben etc.

Ich packe mal die Log Datei und Crash Report rein.
Vielleicht wisst ihr ja was damit anzufangen.

Log Datei:
[09:21:58] [Server thread/INFO]: Starting minecraft server version 1.10
[09:21:58] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: Das Handle ist ungültig
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_101]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_101]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_101]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_101]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_101]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_101]
at ld$2.run(SourceFile:95) [server.jar:?]
[09:21:58] [Server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[09:21:58] [Server thread/INFO]: Loading properties
[09:21:58] [Server thread/INFO]: Default game type: SURVIVAL
[09:21:58] [Server thread/INFO]: Generating keypair
[09:21:58] [Server thread/INFO]: Starting Minecraft server on *:25565
[09:21:58] [Server thread/INFO]: Using default channel type
[09:21:58] [Server thread/INFO]: Preparing level "world"
[09:21:59] [Server thread/INFO]: Preparing start region for level 0
[09:22:00] [Server thread/INFO]: Preparing spawn area: 0%
[09:22:01] [Server thread/INFO]: Preparing spawn area: 24%
[09:22:02] [Server thread/INFO]: Preparing spawn area: 48%
[09:22:03] [Server thread/INFO]: Preparing spawn area: 70%
[09:22:04] [Server thread/INFO]: Preparing spawn area: 99%
[09:22:04] [Server thread/INFO]: Done (5,372s)! For help, type "help" or "?"
[09:24:04] [User Authenticator #1/INFO]: UUID of player Mancubus is f7b79a6a-c6d4-4c27-b64f-52085725294f
[09:24:04] [Server thread/INFO]: Mancubus[/192.168.2.1:56117] logged in with entity id 502 at (309.64996910508904, 67.78856255407183, 220.8951657028616)
[09:24:04] [Server thread/INFO]: Mancubus joined the game
[09:24:05] [Server thread/WARN]: Keeping entity Pig that already exists with UUID 43703778-250c-448c-9f63-b6df002ef309
[09:24:12] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6564ms behind, skipping 131 tick(s)
[09:25:24] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 48575ms behind, skipping 971 tick(s)
[09:25:29] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5221ms behind, skipping 104 tick(s)
[09:26:24] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 35993ms behind, skipping 719 tick(s)
[09:26:29] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5159ms behind, skipping 103 tick(s)
[09:26:51] [Server thread/WARN]: Keeping entity Cow that already exists with UUID b75ad210-78e6-4eeb-a5d7-66343b1ec47a
[09:27:33] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 42962ms behind, skipping 859 tick(s)
[09:27:38] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5022ms behind, skipping 100 tick(s)
[09:28:28] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 32629ms behind, skipping 652 tick(s)
[09:28:33] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5019ms behind, skipping 100 tick(s)
[09:29:26] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 33899ms behind, skipping 677 tick(s)
[09:29:31] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5576ms behind, skipping 111 tick(s)
[09:30:23] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 33532ms behind, skipping 670 tick(s)
[09:30:28] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5286ms behind, skipping 105 tick(s)
[09:31:18] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 31848ms behind, skipping 636 tick(s)
[09:31:23] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5035ms behind, skipping 100 tick(s)
[09:32:16] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 34527ms behind, skipping 690 tick(s)
[09:32:21] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5377ms behind, skipping 107 tick(s)
[09:33:16] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 36387ms behind, skipping 727 tick(s)
[09:33:22] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5504ms behind, skipping 110 tick(s)
[0915] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 34503ms behind, skipping 690 tick(s)
[0920] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5485ms behind, skipping 109 tick(s)
[09:35:14] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 35372ms behind, skipping 707 tick(s)
[09:35:19] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5116ms behind, skipping 102 tick(s)
[09:35:45] [Server thread/INFO]: Opped Mancubus
[09:35:53] [Server thread/INFO]: [Mancubus: Set game difficulty to Peaceful]
[09:36:13] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 35564ms behind, skipping 711 tick(s)
[09:36:18] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5631ms behind, skipping 112 tick(s)
[09:37:35] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 52719ms behind, skipping 1054 tick(s)
[09:37:41] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5999ms behind, skipping 119 tick(s)
[09:38:51] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 48128ms behind, skipping 962 tick(s)
[09:38:57] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6526ms behind, skipping 130 tick(s)
[09:40:04] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 45514ms behind, skipping 910 tick(s)
[09:40:12] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7493ms behind, skipping 149 tick(s)
[09:41:34] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 56467ms behind, skipping 1129 tick(s)
[09:41:40] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5988ms behind, skipping 119 tick(s)
[09:42:59] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 54575ms behind, skipping 1091 tick(s)
[09:43:06] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6997ms behind, skipping 139 tick(s)
[09:44:33] [Server Watchdog/FATAL]: A single server tick took 60,01 seconds (should be max 0,05)
[09:44:33] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
[09:44:33] [Server Watchdog/ERROR]: This crash report has been saved to: E:\Minecraft Server\.\crash-reports\crash-2016-07-29_09.44.33-server.txt

Crash Report:
--- Minecraft Crash Report ----
// But it works on my machine.

Time: 29.07.16 09:44
Description: Watching Server

java.lang.Error
at aso.a(SourceFile:82)
at aso.a(SourceFile:78)
at asw.a(SourceFile:29)
at ls.j(SourceFile:431)
at ls.d(SourceFile:219)
at net.minecraft.server.MinecraftServer.D(SourceFile:618)
at ld.D(SourceFile:338)
at net.minecraft.server.MinecraftServer.C(SourceFile:554)
at net.minecraft.server.MinecraftServer.run(SourceFile:458)
at java.lang.Thread.run(Unknown Source)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server Watchdog
Stacktrace:
at aso.a(SourceFile:82)
at aso.a(SourceFile:78)
at asw.a(SourceFile:29)
at ls.j(SourceFile:431)
at ls.d(SourceFile:219)
at net.minecraft.server.MinecraftServer.D(SourceFile:618)
at ld.D(SourceFile:338)
at net.minecraft.server.MinecraftServer.C(SourceFile:554)

-- Thread Dump --
Details:
Threads: "Netty Server IO #2" Id=28 RUNNABLE
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknow n Source)
at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked io.netty.channel.nio.SelectedSelectionKeySet@1f66d7b
- locked java.util.Collections$UnmodifiableSet@13181f5
- locked sun.nio.ch.WindowsSelectorImpl@10e060b
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:6 22)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"Netty Server IO #1" Id=27 RUNNABLE
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknow n Source)
at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked io.netty.channel.nio.SelectedSelectionKeySet@c8bce
- locked java.util.Collections$UnmodifiableSet@b5a801
- locked sun.nio.ch.WindowsSelectorImpl@11eb04b
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:6 22)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"File IO Thread" Id=42 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at bbu.c(SourceFile:51)
at bbu.run(SourceFile:30)
at java.lang.Thread.run(Unknown Source)


"Server Watchdog" Id=39 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
at le.run(SourceFile:43)
at java.lang.Thread.run(Unknown Source)


"Netty Server IO #0" Id=26 RUNNABLE
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknow n Source)
at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked io.netty.channel.nio.SelectedSelectionKeySet@4dcd3d
- locked java.util.Collections$UnmodifiableSet@237481
- locked sun.nio.ch.WindowsSelectorImpl@1073624
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:6 22)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"D3D Screen Updater" Id=24 TIMED_WAITING on java.lang.Object@1874fa7
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@1874fa7
at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


"DestroyJavaVM" Id=22 RUNNABLE


"Server thread" Id=20 RUNNABLE
at aso.a(SourceFile:82)
at aso.a(SourceFile:78)
at asw.a(SourceFile:29)
at ls.j(SourceFile:431)
at ls.d(SourceFile:219)
at net.minecraft.server.MinecraftServer.D(SourceFile:618)
at ld.D(SourceFile:338)
at net.minecraft.server.MinecraftServer.C(SourceFile:554)
...


"TimerQueue" Id=18 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$Condit ionObject@6da81b
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$Condit ionObject@6da81b
at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$Condit ionObject.awaitNanos(Unknown Source)
at java.util.concurrent.DelayQueue.take(Unknown Source)
at javax.swing.TimerQueue.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Number of locked synchronizers = 1
- java.util.concurrent.locks.ReentrantLock$NonfairSync@149400f


"Thread-4" Id=17 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$Condit ionObject@8b0fa4
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$Condit ionObject@8b0fa4
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$Condit ionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogApp ender.java:77)
at lg$4.run(SourceFile:129)
at java.lang.Thread.run(Unknown Source)


"AWT-EventQueue-0" Id=16 RUNNABLE
at java.lang.Thread.currentThread(Native Method)
at sun.awt.PostEventQueue.flush(Unknown Source)
at sun.awt.SunToolkit.flushPendingEvents(Unknown Source)
at java.awt.EventQueue.postEvent(Unknown Source)
at javax.swing.RepaintManager.scheduleProcessingRunnable(Unknow n Source)
at javax.swing.RepaintManager.addInvalidComponent(Unknown Source)
- locked javax.swing.RepaintManager@13e8fe5
at javax.swing.JComponent.revalidate(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.preferenceChange d(Unknown Source)
...


"AWT-Windows" Id=14 RUNNABLE (in native)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


"AWT-Shutdown" Id=13 WAITING on java.lang.Object@a2fab5
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@a2fab5
at java.lang.Object.wait(Unknown Source)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


"Java2D Disposer" Id=12 WAITING on java.lang.ref.ReferenceQueue$Lock@1deb90a
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1deb90a
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


"Server Infinisleeper" Id=11 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at ld$1.run(SourceFile:79)


"Snooper Timer" Id=10 TIMED_WAITING on java.util.TaskQueue@11c747a
at java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@11c747a
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)


"Attach Listener" Id=5 RUNNABLE


"Signal Dispatcher" Id=4 RUNNABLE


"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@8a805b
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@8a805b
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)


"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@11cad2d
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@11cad2d
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference.tryHandlePending(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)



Stacktrace:
at le.run(SourceFile:59)
at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
Minecraft Version: 1.10
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 154623464 bytes (147 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
Profiler Position: N/A (disabled)
Player Count: 1 / 20; [lu['Mancubus'/502, l='world', x=343,20, y=71,03, z=217,65]]
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)

Vorsichtshalber stelle ich meine System Specs mal mit rein.

Windows 10 Pro 64 Bit
AMD FX-6300 6 Core CPU, 3,5GHz
8GB DDR3 RAM
MSI Geforce GTX 960 4GB OC
 
buildsy schrieb:
Hast du schon versucht dem Server mehr Ram zuzuweisen?

Das hatte ich auch schon einmal versucht.
Hatte im Internet das mit der start.bat Datei gemacht aber es hat nicht funktioniert.

Weil mit der start.bat soll sich der Server ja öffnen aber das tut er nicht. Es öffnet sich ganz kurz (nicht mal 1 Sekunde) ein kleines Fenster was sich dann aber wieder sofort schließt.

Kann sein das ich da was Falsch gemacht habe, habe nur das gemacht was im Internet stand.
 
Wenn du dir eine start.bat runterlädst musst du den Namen der .jar Datei in deinen namen deiner .jar Datei ändern.

Hast du eine minecraft_server.jar in deinem Server Ordner?

Wenn ja versuche mal dies in einer Batch datei: java -Xmx1024M -Xms512M -jar minecraft_server.jar
 
buildsy schrieb:
Wenn du dir eine start.bat runterlädst musst du den Namen der .jar Datei in deinen namen deiner .jar Datei ändern.

Hast du eine minecraft_server.jar in deinem Server Ordner?

Wenn ja versuche mal dies in einer Batch datei: java -Xmx1024M -Xms512M -jar minecraft_server.jar

Naja ich habe ja nichts runtergeladen.
Hab es ja mit einer TXT Datei gemacht die ich dann in diese start.bat gemacht habe.

Ich habe nur eine "server.jar" Datei in den Server Ordner. Die ich auch so ganz normal starten kann das sich der Server öffnet.
 
Wir nehmen mal an du hast diese minecraft_server.jar : https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar

Dann musst du die minecraft_server.1.10.2 in minecraft_server.jar umbenennen und eine Batch Datei mit diesem Inhalt erstellen:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui


Nun Musst du die Batch Datei ausführen und dann wird sich der Server starten.
Deine Server.jar kannst du auch nutzen,aber ich würde die neu runterladen,weil unter anderem Der Server damit auf die 1.10.2 upgedatet wird.
 
buildsy schrieb:
Wir nehmen mal an du hast diese minecraft_server.jar : https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar

Dann musst du die minecraft_server.1.10.2 in minecraft_server.jar umbenennen und eine Batch Datei mit diesem Inhalt erstellen:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui


Nun Musst du die Batch Datei ausführen und dann wird sich der Server starten.
Deine Server.jar kannst du auch nutzen,aber ich würde die neu runterladen,weil unter anderem Der Server damit auf die 1.10.2 upgedatet wird.

Nope funktioniert bei mir nicht.
Der Server startet dadurch nicht, nur für grad mal eine Sekunde das Fenster was sich dann wieder schließt und mehr passiert da nicht.
Entweder bin ich zu dumm oder k.a was das ist. -.-
 
Wie startest du denn sonst deinen Server?
 
Pack hinter den java Befehl in der .bat mal ein pause. sprich so: (Dann bekommst du auch ggf ne Fehlermeldung zu sehen)

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
pause
 
dominic.e schrieb:
Pack hinter den java Befehl in der .bat mal ein pause. sprich so: (Dann bekommst du auch ggf ne Fehlermeldung zu sehen)

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
pause

Jetzt öffnet sich die cmd.exe und dort steht nun das:

E:\Minecraft Server>java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Error: Unable to access jarfile minecraft_server.jar

E:\Minecraft Server>pause
Drücken Sie eine beliebige Taste . . .
 
Die .bat liegt auch im selben Verzeichnis als die Server.jar? und heißt die Datei auch wirklich minecraft_server.jar?
 
dominic.e schrieb:
Die .bat liegt auch im selben Verzeichnis als die Server.jar? und heißt die Datei auch wirklich minecraft_server.jar?

Die .bat Datei ist im gleichen Ordner wie die Server Datei.

Mein Server heißt einfach nur "server.jar" nicht "minecraft_server.jar.
 
dann musst du das entsprechend umbenennen in der .bat ;)
 
dominic.e schrieb:
dann musst du das entsprechend umbenennen in der .bat ;)

Okay, jetzt hat es funktioniert. :D

Kann ich eigentlich noch mehr RAM nutzen?
Hatte das auch probiert aber da kam wieder irgendwelche Error Meldungen.

Also wollte 3GB RAM nutzen aber wollte er nicht.
 
Du musst das xmx entsprechend anpassen:
-Xmx3072M

​dann gibst du ihm max 3GB ram
 
dominic.e schrieb:
Du musst das xmx entsprechend anpassen:
-Xmx3072M

​dann gibst du ihm max 3GB ram

Nope, da bekomme ich wieder eine andere Meldung in der cmd.exe

"E:\Minecraft Server>java -Xmx3072M -Xms3072M -jar server.jar nogui
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap

E:\Minecraft Server>pause
Drücken Sie eine beliebige Taste . . ."
 
Wie viel GB ram hast du in deinem PC? Kann es sein, dass du nur ne 4GB Kiste hast? Du kannst natürlich nur so viel RAM reservieren, wie du auch frei hast
 
dominic.e schrieb:
Wie viel GB ram hast du in deinem PC? Kann es sein, dass du nur ne 4GB Kiste hast? Du kannst natürlich nur so viel RAM reservieren, wie du auch frei hast

Ich habe 8GB RAM in meinen PC.
Daran sollte es also nicht liegen.
 
Zurück
Oben