I have a simple maven project with the Code below.
import jade.core.Agent;
public class HelloAgent extends Agent
{
protected void setup()
{
System.out.println(getLocalName());
}
}
How do I run this program?. When i right click to run it, I dont see a run as Java Application. I am following the tutorial here
http://www.iro.umontreal.ca/~vaucher/Agents/Jade/primer2.html
% javac HelloAgent.java
% java jade.Boot fred:HelloAgent
Output
fred