Translate

Monday 6 May 2013

Running JADE in Netbeans IDE

What is JADE?

            JADE (Java Agent DEvelopment Framework) is a software framework fully implemented in Java language. It simplifies the implementation of multi-agent systems through a middleware that claims to comply with the FIPA (Foundation for Intelligent Physical Agents) specifications and through a set of tools that supports the debugging and deployment phase. The agent platform can be distributed across machines (which not even need to share the same OS) and the configuration can be controlled via a remote GUI. The configuration can be even changed at run-time by creating new agents and moving agents from one machine to another one, as and when required.

The following steps shows how to run jade in Netbeans:

1. Download latest version of JADE from http://jade.tilab.com.

2. Unzip the compression file & copy it in to C drive.

3. Add jade.jar to your project library. [jade.jar available in jade\lib\jade.jar].

4.Set project configuration as follows:
   (i) Right click on project-> set configuration -> Customize
   (ii) click Run
   (iii) set Main class as jade.Boot
   (iv) set Arguments as -gui

5. Now run your program

The following steps shows how to run jade via command prompt:

1. The first two steps are same as explained in above.

2. Set Environment variable as follows [http://vietpad.sourceforge.net/javaonwindows.html]
   (i) set CLASSPATH as library folder of jdk  [C:\Program Files (x86)\Java\jdk1.6.0_21\lib]
   (ii) set PATH as bin folder of jdk [C:\Program Files (x86)\Java\jdk1.6.0_21\bin]

3. Now open command prompt
   (i) go to jade folder [c:\jade]

4. Give agent name for corresponding class name.
[Eg: java -cp lib\jade.jar jade.Boot -gui [Agentname:Classname]]

7 comments:

  1. IT HELPS ME IN MY FINAL YEAR PROJECT., THANK YOU SO MUCH.

    ReplyDelete
  2. good post..it helped alot...thank you so much...You rock..>!!!!!!!

    ReplyDelete
  3. how to run jar file to double click in jade

    ReplyDelete
  4. Thanks for post, it helped me start to understand my first JADE application. :)

    ReplyDelete
  5. what about making agents and make them communication with each othre???

    ReplyDelete
  6. really useful info. It saved my day
    thanks very much

    ReplyDelete