How To Install, Twitch, Age Of Engineering Server Tutorial.



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

21 comments

  1. 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

  2. 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

  3. 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

  4. 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'

  5. 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.

  6. 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 ?

Leave a Reply to Ryan Augustine Cancel reply

Your email address will not be published. Required fields are marked *