Setting up server alot of trouble (windows)

    Joined
    Jun 26, 2013
    Messages
    2
    Reaction score
    0
    • Legacy Citizen 2
    • Legacy Citizen
    Ok im trying to setup a server simply. I tried to set it up with the bat file. WITH the code put in (i.e)

    @ECHO
    :restart
    java -Xms512m -Xmx1024m -Xincgc -Xshare:eek:ff -jar StarMade.jar -server
    goto restart

    When i start it up it opens but it just says Java is not a valid fuction.
    And then theres just my automatic local server, but if i try to a friend my Ip it doesn't work and we are in the same room. And if i give them my local host, its the same thing. It's so agravating.

    So, any suggestions?