JADE Toshihiro Tamura 12/16/09
1. What’s the JADE JADE = Java Agent DEvelopment framework JADE is based on JAVA and developed in Italy in JADE is modified FIPA.
2. Advantage of using JADE We can watch the agents’ communication easily.
2. Advantage of using JADE We can create about 1,000 agent’s in every container.
2. Advantage of using JADE We can run JADE agents on the Mobile Devices Android(mobile phone) →
3. How to download JADE (Latest version is 3.7)
3. How to download JADE Click “New user”
3. How to download JADE Input New user registration form If you finish it, click “submit” button at the bottom of this page. Then, a mail will be sent to you.
3. How to download JADE Click “continue” Button. (①) Then you are back to the top page. And click “JADE3.7” again. (②) ① ②
3. How to download JADE Click “continue”
3. How to download JADE Read license and click “agree”
3. How to download JADE Please choose jadeAll.zip
4. How to install JADE Unzip and confirm these files. Bin : JADE Doc : JADE’s documentation Examples : JADE’s sample program Src : JADE’s source code
4. How to install JADE Unzip “Jade-bin zip”
4. How to install JADE There is a folder named “jade” in unzipped file. Move it to the folder that you want to install JADE. (In this example, move to C: \ )
4. How to install JADE(Vista) Right-click “ コンピュータ ” and choose “ プロパティ ”
4. How to install JADE(Vista) Click “ システムの詳細設定 ”
4. How to install JADE(Vista) Click “ 詳細設定 ” and “ 環境変数 ”
4. How to install JADE Click below “ 新規 ”
4. How to install JADE Input like this 変数名: JADE_HOME 変数値 : (JADE folder’s address)\jade
4. How to install JADE Choose CLASSPATH and click “ 編集 ” If there is not “CLASSPATH”, click ” 新規 ”
4. How to install JADE Add these sentences in “ 変数値 ” %JADE_HOME%\lib\jade.jar; %JADE_HOME%\lib\jadeTools.jar; %JADE_HOME%\lib\http.jar; %JADE_HOME%\lib\iiop.jar; %JADE_HOME%\lib\commons-codec\commons-codec- 1.3.jar; %JADE_HOME%\classes Don’t delete initial value! After adding, close all windows by choosing “OK”
5. How to run JADE Start “command prompt” Input java jade.Boot -gui
5. How to run JADE Installing is success!
EJADE Toshihiro Tamura 12/16/09
6. What’s the EJADE EJADE is a plug-in of eclipse. We can program JADE on eclipse by using EJADE. The version of eclipse recommends since 3.4.
7. How to install EJADE Start eclipse. Click Help -> Install New Software This eclipse is ver3.4 and translated to Japanese sorry
7. How to install EJADE Click Available Software -> add site
7. How to install EJADE Input And click OK
7. How to install EJADE Inputted site is added! Check the site and click install, then downloading start
7. How to install EJADE Click Next when downloading finish Accept the license and click finish.
7. How to install EJADE Restart eclipse
7. How to install EJADE If there are these icons, installing is success!
8. How to develop on eclipse Click File->Switch Workspace->Other Change to “classes” folder set at p22 In this case C:\jade\classes
8. How to develop on eclipse Create Java project Right-click it and click “Toggle JADE/JADEX agent nature”
8. How to develop on eclipse Adding the library to develop JADE, we can develop JADE on eclipse
9. How to run on eclipse Confirm that there is no error and click EJADE->START JADE RMA (or click the icon in red circle)
9. How to run on eclipse JADE is started!
9. How to run on eclipse Right-click Java file and click EJADE->Deploy Agent(s)
9. How to run on eclipse Set these parameter and click finish Agent name:agent’s name Agent parameter :agent’s parameter(like argument) Number of clone:the number of this agent
9. How to run on eclipse Created the agent!
10.DEMO Shop_1.java