辅导案例-CM30174 /

欢迎使用51辅导,51作业君孵化低价透明的学长辅导平台,服务保持优质,平均费用压低50%以上! 51fudao.top
Fahid Mohammed (frm24)
Getting started
Intelligent Agents: CM30174 / CM50206
Contents
• Introduction

• What you’ll need to get started

• Installing JDK

• Installing Eclipse

• Installing Jason

• Installing Jason Eclipse plugin

• Next steps…..
Introduction
…before you build your first agent
For the development of agents & multi-agent systems, this unit would
make use of an extended version of the Agentspeak language and the
Jason interpreter. You can read more about Jason here. The Jason
interpreter requires java to run and integrates seamlessly with Eclipse
IDE. This slide is a short guide on how to get your computers ready for
developing agents using AgentSpeak.

What you’ll need to get started
…applications to install & where to find them
- Java JDK download here

- Eclipse IDE download here

- JASON download here

- JASON eclipse plugin download here
Installing JDK
Before you begin, check if java is installed on your laptop.

Launch your terminal (command prompt on windows) and type the command java -version and hit the
enter key afterwards. if you get a message beginning with “java version…”, it means java is present and
you can move to the next slide otherwise download JDK and install it as shown in the relevant video
below:

How to install Java

Linux: https://www.youtube.com/watch?v=VvMYTQ_q-6o

Mac: https://www.youtube.com/watch?v=y6szNJ4rMZ0

Windows: https://www.youtube.com/watch?v=Wp6uS7CmivE

Installing Eclipse IDE
To install eclipse, follow the relevant guide here;

Linux: https://www.javahelps.com/2015/03/install-latest-eclipse-in-
ubuntu.html

Mac: https://beginnersbook.com/2016/04/how-to-install-eclipse-on-
mac-os-x/

Windows: https://www.eclipse.org/downloads/packages/installer
Installing JASON
To get Jason setup, follow the steps below:

- Download Jason from the link provided

- Unzip Jason in a preferred location (keep in mind that this is how to
“instal” Jason. so keep it in a location where you won’t accidentally
delete it)

- Navigate into the libs folder of the Jason folder you just extracted

- Click on the Jason-2.4.jar file
Installing JASON
- On Mac, you’d need to allow the jar file

run using the system preferences

- Once running, you should get a window

(see photo to the right)

- Ensure the java home path is not empty

- Click on the “Save configuration & exit”

button
Installing JASON Eclipse plugin

Once you have installed both JDK, Eclipse and JASON perform the
following steps to install JASON Eclipse plugin;

1. Launch Eclipse or restart it if it was already running

2. Follow the guide here http://jason.sourceforge.net/mini-tutorial/eclipse-
plugin/ but in step 6 of the guide ensure you use the url: http://
jason.sourceforge.net/eclipseplugin/juno/

Next Steps
• If you’ve experienced any difficulty while setting things up, join the moodle
forum for the course and drop us a message.

• Join the online classes on Monday

欢迎咨询51作业君
51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: abby12468