Created
June 29, 2018 12:08
-
-
Save darealshinji/c676e3142d040dea8eb215e888a50672 to your computer and use it in GitHub Desktop.
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
@echo OFF | |
if exist %SystemRoot%\SysWOW64 ( | |
set ARCH=x64 | |
) else ( | |
set ARCH=i586 | |
) | |
if not exist jre1.8.0_171\bin\java.exe ( | |
rd /s /q jre1.8.0_171 | |
curl.exe -L "https://sourceforge.net/projects/portableapps/files/Java/jre-8u171-windows-%ARCH%.tar.gz" ^ | |
> jre-8u171-windows-%ARCH%.tar.gz | |
7z.exe e -y jre-8u171-windows-%ARCH%.tar.gz && 7z.exe x -y jre-8u171-windows-%ARCH%.tar | |
del /f /q jre-8u171-windows-%ARCH%.tar.gz jre-8u171-windows-%ARCH%.tar | |
) | |
jre1.8.0_171\bin\java.exe -Xms128m -Xmx256m -Djava.library.path=lib;lib\native;lib\native\windows -Dfile.encoding=Cp1252 ^ | |
-cp lib\bin.jar;lib\jogg-0.0.7.jar;lib\jorbis-0.0.15.jar;lib\jar\jinput.jar;lib\jar\log4j-api-2.0-beta9.jar;lib\jar\lwjgl_util.jar;lib\jar\lwjgl.jar ^ | |
ghook/GHookGame | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment