-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Java path for client-bundled server
- Loading branch information
Showing
3 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
|
||
if exist logging.properties set LOGGING=-Djava.util.logging.config.file=logging.properties | ||
|
||
runtime\bin\java "-Dworkdir=%CD%" "-Djava.library.path=%CD%\nativelibs" %LOGGING% -Xmn256M -Xms512m -Xmx2048m -XX:+OptimizeStringConcat -XX:+AggressiveOpts -jar modlauncher.jar %* | ||
set JAVA=java | ||
if exist runtime\bin\java.exe set JAVA=runtime\bin\java.exe | ||
if exist ..\runtime\bin\java.exe set JAVA=..\runtime\bin\java.exe | ||
|
||
%JAVA% "-Dworkdir=%CD%" "-Djava.library.path=%CD%\nativelibs" %LOGGING% -Xmn256M -Xms512m -Xmx2048m -XX:+OptimizeStringConcat -XX:+AggressiveOpts -jar modlauncher.jar %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
runtime\bin\java -classpath patcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchServerJar | ||
set JAVA=java | ||
if exist runtime\bin\java.exe set JAVA=runtime\bin\java.exe | ||
if exist ..\runtime\bin\java.exe set JAVA=..\runtime\bin\java.exe | ||
|
||
%JAVA% -classpath patcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchServerJar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
#!/bin/sh | ||
|
||
java() { | ||
runtime/jre1.8.0_60/bin/java $* | ||
} | ||
java -classpath patcher.jar:javassist.jar org.gotti.wurmunlimited.patcher.PatchServerJar | ||
if test -x "runtime/jre1.8.0_60/bin/java"; then | ||
JAVA="runtime/jre1.8.0_60/bin/java" | ||
elif test -x "../runtime/jre1.8.0_60/bin/java"; then | ||
JAVA="../runtime/jre1.8.0_60/bin/java" | ||
else | ||
JAVA="java" | ||
fi | ||
|
||
"$JAVA" -classpath patcher.jar:javassist.jar org.gotti.wurmunlimited.patcher.PatchServerJar | ||
chmod a+x WurmServerLauncher-patched |