Skip to content

Commit

Permalink
fix missing library paths for windows exe and bat
Browse files Browse the repository at this point in the history
(cherry picked from commit a713186)
  • Loading branch information
mfleisch committed Oct 14, 2021
1 parent 2c5ef22 commit 81b3781
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/sirius.bat.templ
Original file line number Diff line number Diff line change
Expand Up @@ -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#
Expand Down
3 changes: 2 additions & 1 deletion sirius_dist/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ subprojects {
// '-Xmx4G',
'-XX:MaxRAMPercentage=85',
'-XX:+UseG1GC',
'-XX:+UseStringDeduplication'
'-XX:+UseStringDeduplication',
'-Djava.library.path=.\\'
]

dontWrapJar = true
Expand Down

0 comments on commit 81b3781

Please sign in to comment.