[bat]
REM SECTION 3.7 OF THE BOOK
REM This batch file launches an instance of an HelloWorldAgent where ‘Pet’ is the agent local name
REM N.B. You must compile the HelloWorldAgent before you can launch it;
REM you can use compileHelloWorldAgent.bat for this purpose
call 01setClassPath
cd ..
set PLATFORM_HOST=localhost
java jade.Boot -container -host %PLATFORM_HOST% Pet:HelloWorldAgent
[/bat]