Please like and sub!!!
Forge: https://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.10.2.html
Java: https://java.com/en/download/manual.jsp
Server Text Code
java -Xms512m -Xmx2048m -XX:PermSize=128m -jar forge-1.10.2-12.18.3.2316-universal.jar nogui
pause
source
java -Xms512m -Xmx2048m -XX:PermSize=128m -jar forge-1.10.2-12.18.3.2316-universal.jar nogui
pause
can you play with you friend if your not on the samme enternet?
Getting errors like : A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
Great Job, very easy to follow!
Helped a bunch as no server for this mod, thanks for making this buddy!
I have wanted to host my own private server for ever this tutorial was perfect. Thank you
Okay
any suggestions?
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
… 6 more
it isnt working for me.. here is what happens
C:UsersLukeAppDataRoaming.minecraftServer>java -Xms512m -Xmx2048m -XX:PermSize=128m -jar forge-1.10.2-12.18.3.2316-universal.jar nogui
Java HotSpot(TM) Client VM warning: ignoring option PermSize=128m; support was removed in 8.0
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
C:UsersLukeAppDataRoaming.minecraftServer>pause
Press any key to continue . . .
i dont get it i have enough space yet it's not working
pls someone help me
port fowarding needed ?
Thank you very much for this. No way I would have been able to get it all working without this video.
For anyone asking on how to do this on linux: You need to change a few things.
If you are on headless linux(or just have the terminal for whatever reason)
You can install the server with the parameter –installServer
So in this case it would be 'java -jar forge-1.10.2-12.18.3.2316-installer.jar –installServer'
(Keep in mind to adjust the name for your purpose)
After that you can just follow along the tutorial except from starting the server.
Instead of creating the 'start.bat' you may create a 'start.sh' with the command
'nano start.sh'
You should then put in the following:
'screen -S AoE java -Xms2048M -Xmx8192M -jar forge-1.10.2-12.18.3.2316-universal.jar'
(Keep in mind again to adjust the name of the jar and adjust the Ram specifications)
You can now start your server with the command ':/start.sh' and after that close the screen with
CTRL + A + D. You may now also close your terminal when you have finished setting up everything.
If you want to open your screen again you may use the command 'screen -r'
for anyone having trouble, the eula file wouldn't generate for me until I removed the Chisel mod, after that it worked fine.
Great tutorial!
Just FYI, you do not need to capitalize the L in localhost, it will work just fine without it.
does this work with a already created world?
i worked a lot on it… can i convert it to a server?
Having an error when activating the server start file.
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
Research says this is a lack of RAM issue. Problem is, I have 16gigs on my PC, and definitely have enough free to spare 2 gigs.
the installer failed, unable to continue
how do i give people the ip? or is it The Localhost thing?
got an error that says: Error occurred duriong initialization of VM
Could not reserve enough space for 209/152KB object heap
anything i could do ?
Thank you so much sir. It worked PERFECTLY!! PRAIS LORD JEEBUS
I go as far as the .bat thing and I got an error during the initialization of the VM. It also said it could not reserve enough space for the object heap