Sign in to follow this  
Globbin

Running from java not the serverlauncher.exe

Recommended Posts

Hello All,

 

I'm currently attempting to configure a way to inject the commandline/startup variables directly into the JVM instead of opening the Serverlauncher.exe when hosting a Wurm unlimited server, I was wondering what .jar file(s) I would need to tell the JVM to load/start from in order to make this happen, if it is feasible.

 

If it's not as simple as -d64 -server -jar C:\\directorytomygame.jar  Xmx 123 Xms 135 etc etc, how would I go about doing this?

 

Any and all help is appreciated, and thank you for taking the time to read this.

 

-Globbin

Edited by Globbin

Share this post


Link to post
Share on other sites

I don't think you can (but I could be very wrong about this). And wrong I was, thanks Ago :)

Edited by BadLuckBurt

Share this post


Link to post
Share on other sites

Add server.jar, common.jar and all jars from the lib directory to the class path.

 

those libs are used for the modlauncher: server.jar common.jar lib/activation.jar lib/annotations.jar lib/commons-codec-1.6.jar lib/controlsfx-8.20.8.jar lib/controlsfx-8.20.8-sources.jar lib/httpclient-4.2.5.jar lib/httpcore-4.2.4.jar lib/javaws.jar lib/jsr305.jar lib/jtwitter.jar lib/mail.jar lib/mysql-connector.jar lib/mysql-connector-java-5.1.23-bin.jar lib/servlet.jar lib/signpost-core.jar lib/sqlite-jdbc-3.8.11.2.jar lib/SteamServerJni.jar

Edited by ago
  • Like 4

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this