Skip to content

Instantly share code, notes, and snippets.

@hayasshi
Created February 19, 2014 11:14
Show Gist options
  • Save hayasshi/eb5259c09e48471e9f6d to your computer and use it in GitHub Desktop.
Save hayasshi/eb5259c09e48471e9f6d to your computer and use it in GitHub Desktop.
@echo off
SET CURRENT_DIR=%~dp0
SET JAVA_OPTION=-Xms128m -Xmx512m -server -Dhttp.port=9000
SET CLASS_PATH=%CURRENT_DIR%app\lib\*
SET ARGS=%CURRENT_DIR%app\
java %JAVA_OPTION% -cp "%CLASS_PATH%" play.core.server.NettyServer %ARGS%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment