Hello all,
Iam writing a program in java in unix environment and iam executing using shell scripts in unix this program is for client-server environment
which look like this:
For server:
#! /bin/ksh
export CLASSPATH=/user/vpp/jal/classes:$CLASSPATH
#set var for filename config file
export JAL_CONF_FILE=/user/vpp/jal/conf/JALapp.conf
java -DJAL_CONF_FILE=$JAL_CONF_FILE jalsvr/JALTCPServer 7776
for client side it is
#! /bin/ksh
export CLASSPATH=/user/vpp/jal/classes:$CLASSPATH
echo $CLASSPATH
java jalcl/JALTCPClient msoc05:7776
my question is know i want to execute them in windows by creating batch files runsvr.bat, runcl.batbut how
i gave PATH by giving JRE path but what is the replacement of export because iam having all class files
in /jalcl for clients and /jalsvr for server but want to create this batch file in separate /bin folder how to do.please help me