How to run a Java application with Play framework at the prompt?

2

I have a large system developed in Java that uses Play , but this system was developed in Linux , and now I need to run it in Windows . There is script to compile in Linux ( run.sh.template ).

I need to know how to make script equivalent to Windows so it can run in prompt of the system.

Script for Linux run.sh

#!/bin/bash

# Sample script to run the Playball server in the development environemnt

BASEDIR=$(dirname $0)

source $BASEDIR/setenv.sh
play debug -Dconfig.file=conf/local.conf -Dlogger.file=conf/logback-dev.xml

setenv.sh script

#!/bin/bash

export _JAVA_OPTIONS="-Xss4m -Xmx756m"
export JAVA_HOME="/data/dev/sdk/jdk1.7.0_67"
export PLAY_HOME="/data/dev/sdk/play/play-2.0.8"
export PATH="$JAVA_HOME/bin:$PLAY_HOME:$PATH"
    
asked by anonymous 28.07.2017 / 14:37

0 answers