Skip to content

Create server launcher to replace mcserver #2

@tonygermano

Description

@tonygermano

mcserver was created by install4j, and the configuration was not open source. I don't believe that a replacement for mcservice is required, as each platform has a preferred way to run a service, and they should all work with a simple launcher.

needs:

  • a binary or script that can run with a double-click (source code must be open)
  • must process a .vmoptions file as described here or something similar in a different documented format.
    • in addition to directly using options as arguments to the java executable, it supports special values for:
      • replacing, appending to, or prepending to the classpath
      • including other vmoptions files, with environment variable substitution in the path
  • ensure that the classpath is built in the correct order. Certain project libraries reimplement classes from other libraries and must come earlier on the classpath.
  • able to locate a jvm with which to launch the server

nice-to-haves:

  • easy (and well documented) way to configure it to launch using a specified jvm. Shouldn't require a system-wide jvm to be installed.
  • detect java version and automatically include known required options for java 9+

Platform support (check as completed):

  • Windows
  • macOS
  • Linux (+docker)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions