Minecraft Server on mainframe z/OS in batch - M212

  Рет қаралды 2,304

moshix

moshix

Күн бұрын

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 "
//

Пікірлер: 15
@grappydingus
@grappydingus 2 жыл бұрын
That was more complicated, than I thought it would be! But fun!
@YvanJanssens
@YvanJanssens 2 жыл бұрын
there are guides online that get you to run it under the unix subsystem, but I wanted to run it the 'proper' way as a batch job, and then you end up yak shaving all the way down to patching eg the included Java.
@timrichter1980
@timrichter1980 Жыл бұрын
This is very interesting. Now I have another idea: getting MVS TK4 into Minecraft. It sounds silly, but there are actually two mods that let you build computers in minecraft, and offer you a LUA console. So, one could install Hercules besides Minecraft on a server. Then, there could be a Minecraft mod that connects to Hercules and offers a terminal, DASDs and so on. Possibilites could be endless from there on.
@moshixmainframechannel
@moshixmainframechannel Жыл бұрын
Can’t wait to try it out ! Good idea.
@mieszkogulinski168
@mieszkogulinski168 9 ай бұрын
But can it run Crysis? And more seriously, I regularly use Linux both as desktop and over ssh, and it's really interesting for me to see a different environment such as mainframes :) This interface reminds me of using Norton Commander (I used it as a kid, on my first computer with DOS and Windows 3.1). Of course there are Linux commands such as htop or nano that look like that too
@moshixmainframechannel
@moshixmainframechannel 9 ай бұрын
Thanks for watching !
@buldozzer3456
@buldozzer3456 2 жыл бұрын
So now that i know my minecraft server would run, its time to buy a mainframe! 😁
@sheppardnetworking
@sheppardnetworking Жыл бұрын
I bought a mainframe for this, a IBM z9 to be specific. I wanna see what performance i can get out of it (if any) seems like a fun project if u happen to have a mainframe lying around
@nunofelicio
@nunofelicio 2 жыл бұрын
Great Video!
@darren6202
@darren6202 2 жыл бұрын
wow!
@johnantypas7618
@johnantypas7618 Жыл бұрын
Angry birds in batch! SUBMIT ABIRD HIT YELLOW BIRD SHOW LOG *** YOU MISSED
@moshixmainframechannel
@moshixmainframechannel Жыл бұрын
Hahaha
@imabee_
@imabee_ 10 ай бұрын
How much for a used mainframe?
@moshixmainframechannel
@moshixmainframechannel 10 ай бұрын
Not much
@imabee_
@imabee_ 10 ай бұрын
@@moshixmainframechannel do you have any suggestions on where to look?
History of IBM mainframe operating systems - M243
58:34
moshix
Рет қаралды 24 М.
MVS 3.8 Panels with BREXX - M228
35:15
moshix
Рет қаралды 2,4 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 45 МЛН
Bike vs Super Bike Fast Challenge
00:30
Russo
Рет қаралды 23 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 35 МЛН
How to Crack Software (Reverse Engineering)
16:16
Eric Parker
Рет қаралды 529 М.
What happens if you connect Windows XP to the Internet in 2024?
20:35
Here's What Happens When an 18 Year Old Buys a Mainframe
45:12
SHARE Association
Рет қаралды 3,2 МЛН
Harder Drive: Hard drives we didn't want or need
36:47
suckerpinch
Рет қаралды 1,7 МЛН
Changing the MVS TK4 Startup Procedure - M230
6:51
moshix
Рет қаралды 2,1 М.
Mainframe tools for MS-DOS - M231
35:23
moshix
Рет қаралды 4,6 М.
The great ISPF editor on the mainframe - M246
17:01
moshix
Рет қаралды 1,9 М.
◄ SIZE of INTERNET ► BYTES in perspective 🌐
1:31
MetaBallStudios
Рет қаралды 2,8 МЛН
10 ways Linux is just better!
11:32
Linus Tech Tips
Рет қаралды 4 МЛН
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 45 МЛН