mirror of
https://github.com/rdk/p2rank.git
synced 2026-06-04 12:44:24 +08:00
21 lines
483 B
Batchfile
21 lines
483 B
Batchfile
@echo off
|
|
|
|
rem
|
|
rem Set maximum memory for JVM heap
|
|
rem
|
|
set "JAVA_OPTS= -Xmx2048m"
|
|
|
|
rem
|
|
rem Set this to change the Java installation that will be used to run the program:
|
|
rem
|
|
rem set "JAVA_HOME=c:\java8"
|
|
|
|
|
|
|
|
set "JAVA_OPTS=%JAVA_OPTS% -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"
|
|
|
|
set "PRANK_BASE_DIR=%~dp0%"
|
|
set "CLASSPATH=%PRANK_BASE_DIR%/bin/p2rank.jar;%PRANK_BASE_DIR%/bin/lib/*"
|
|
|
|
|
|
"%JAVA_HOME%\bin\java.exe" %JAVA_OPTS% -cp "%CLASSPATH%" cz.siret.prank.program.Main %* |