Skip to content

Omit -jar when -cp or -classpath is used in custom java arguments#3

Open
NZSmartie wants to merge 1 commit intoSchine:masterfrom
NZSmartie:feature/classpath
Open

Omit -jar when -cp or -classpath is used in custom java arguments#3
NZSmartie wants to merge 1 commit intoSchine:masterfrom
NZSmartie:feature/classpath

Conversation

@NZSmartie
Copy link
Copy Markdown
Contributor

In the case of using a 3rd-party mod loader. It's ideal to pass along a custom classpath to java.
However, if -jar is present, then the classpath is ignored.

This PR enables the use of the fabric mod loader through the custom java arguments input:

-Xincgc -server -cp ".\StarMade.jar;.\libs\fabric-loader.jar" -Dfabric.gameJarPath=.\StarMade.jar -Dfabric.loader.entrypoint=org.schema.game.common.Starter -Dfabric.side=client net.fabricmc.loader.launch.knot.KnotClient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant