Рет қаралды 2,304
where to obtan stuff:
java:
www.ibm.com/su...
server version used in this video:
mcversions.net...
JCL:
//MCRAFT JOB ,,MSGLEVEL=1,MSGCLASS=H,CLASS=A,REGION=0M,
// NOTIFY=&SYSUID
//*******************************************************************
//JAVA EXEC PROC=JVMPRC16,
// JAVACLS='net.minecraft.server.Main'
//STDENV DD *
This is a shell script which configures
any environment variables for the Java JVM.
Variables must be exported to be seen by the launcher.
. /etc/profile
cd /apps/minecraft/v1.16.5
export JAVA_HOME=/usr/lpp/java/J11.0_64
export PATH=/bin:"${JAVA_HOME}"/bin
LIBPATH=/lib:/usr/lib:"${JAVA_HOME}"/bin
LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib
LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/j9vm
export LIBPATH="$LIBPATH":
Customize your CLASSPATH here
APP_HOME=$JAVA_HOME
CLASSPATH=$APP_HOME:"${JAVA_HOME}"/lib
Add Application required jars to end of CLASSPATH
for i in "${APP_HOME}"/*.jar; do
CLASSPATH="$CLASSPATH":"$i"
done
export CLASSPATH="$CLASSPATH:/usr/lpp/java/J1.8/J8.0":
export CLASSPATH="/apps/minecraft/v1.16.5/server.jar:$CLASSPATH":
Set JZOS specific options
Use this variable to specify encoding for DD STDOUT and STDERR
export JZOS_OUTPUT_ENCODING=Cp1047
Use this variable to prevent JZOS from handling MVS operator commands
#export JZOS_ENABLE_MVS_COMMANDS=false
Use this variable to supply additional arguments to main
export JZOS_MAIN_ARGS="--nogui"
Configure JVM options
IJO="-Xms1024m -Xmx1024m"
Uncomment the following to aid in debugging "Class Not Found" problems
#IJO="$IJO -verbose:class"
Uncomment the following if you want to run with Ascii file encoding..
IJO="$IJO -Dfile.encoding=ISO8859-1"
export IBM_JAVA_OPTIONS="$IJO "
//