msmart@control tutorial> jikes -classpath <install dir>/share/kaffe/JanosVM.jar HelloSpaz.javaThe program doesn't create its own team so we'll have to start one for it.
[Terminal 1]
msmart@control tutorial> janosvm -config tutorial.config -name janosvm \
-jsitcpport 14000 -noexit
[Terminal 2]
msmart@control msmart> jsihey janosvm create team with name "Kaos" then \
print "%(result:d)\n"
2
msmart@control msmart> jsihey janosvm execute run of team 2 with class \
HelloSpaz then nothing
msmart@control msmart>
[Terminal 1]
hihihihihihihihihihihi
hihihihihihihihihihihi
hihihihihihihihihihihi
...
Now we just delete the team and the output should be stopped:
[Terminal 2] msmart@control msmart> jsihey janosvm delete team 2Well, this is the end of the tutorial. You can also look in test/janosvm for more code examples.
Return to the Tutorial Main Page.