Skip to content

Instantly share code, notes, and snippets.

@argenos
Last active November 7, 2017 12:06
Show Gist options
  • Save argenos/2a4caab0c367e62f40598d2748d8421d to your computer and use it in GitHub Desktop.
Save argenos/2a4caab0c367e62f40598d2748d8421d to your computer and use it in GitHub Desktop.
# Adding Jade to your project in Eclipse
1. Right click on your project and click on Build path > Add external archives
2. Look for the `jade.jar` file and add it.
3. On the menu Run> Run configurations
1. Create a new run configuration
2. On the Main tab, add the jade.Boot to the Main Class
3. In the arguments tab you can specify arguments needed by jade e.g. `-gui` or your agents e.g. "-agents Name:pkg.AgentExample"
4. Make sure that in the Classpath tab, the jade.jar file appears.
## Adding JADE variables to your .bashrc
If you want to run JADE from your terminal, you will need to add some variables to your `.bashrc`
```
export JADE_LIB=/home/maas/JADE/jade/lib
export CLASSPATH='.:${JADE_LIB}/jade.jar:{JADE_LIB}/commons-codec/commons-codec-1.3.jar:{JADE_LIB}/jadeExamples.jar:/home/maas/JADE/jade/classes'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment