It is currently 28 Feb 2020, 02:17
   
Text Size

How to set up a (public) XMage server

by BetaSteward

Moderators: TheElk801, BetaSteward, LevelX, North, noxx, JayDi, jeffwadsworth, CCGHQ Admins

Re: How to set up a (public) XMage server

Postby BabaRey » 02 Feb 2020, 05:12

JayDi wrote:Try run simple command without startup file:
Code: Select all
java -Xms256M -Xmx512M -XX:MaxPermSize=256m -Djava.security.policy=./config/security.policy -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/mage-server-1.4.42.jar
Now it works, thank you very much

What are those warnings?
Attachments
1234.PNG
BabaRey
 
Posts: 9
Joined: 14 Mar 2018, 03:10
Has thanked: 0 time
Been thanked: 0 time

Re: How to set up a (public) XMage server

Postby JayDi » 02 Feb 2020, 09:26

You must use java/openjdk 8, not 11 (xmage support only 8 version -- both server and clients must use same versions). You can make openjdk 1.8 as default java or run it from 1.8's bin folder as command line (replce java word as jdk1.8_bin/java path).
User avatar
JayDi
 
Posts: 261
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 35 times

Previous

Return to XMage

Who is online

Users browsing this forum: JayDi and 9 guests


Who is online

In total there are 10 users online :: 1 registered, 0 hidden and 9 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: JayDi and 9 guests

Login Form