diff --git a/scripts/sirius.bat.templ b/scripts/sirius.bat.templ index a16da319b8..07d2db709a 100644 --- a/scripts/sirius.bat.templ +++ b/scripts/sirius.bat.templ @@ -48,8 +48,8 @@ echo ERROR: Inlcuded java.exe could not be found. Please report this bug! goto fail :execute -@rem Setup the command line - +@rem Setup the command line and add APP_HOME to user Path +set Path=%APP_HOME%;%Path% set CLASSPATH=#classPath# set GUROBI_JAR=#gurobiJar# diff --git a/sirius_dist/build.gradle b/sirius_dist/build.gradle index 6749298920..377347583e 100644 --- a/sirius_dist/build.gradle +++ b/sirius_dist/build.gradle @@ -278,7 +278,8 @@ subprojects { // '-Xmx4G', '-XX:MaxRAMPercentage=85', '-XX:+UseG1GC', - '-XX:+UseStringDeduplication' + '-XX:+UseStringDeduplication', + '-Djava.library.path=.\\' ] dontWrapJar = true