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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this