Print

Print


In my course, for both PCs and Macs, we don't use the Mason Jars. We unzip
the Mason code into a directory. Then we open Eclipse and create a Mason
project. In the Mason directory, we grab the ec and sim folders and copy or
drag them into the src folder in our new project. One of the new packages
should look like "sim.ant.antsforage". If not, you grabbed at the wrong
level, so start over. Some packages (and hence every linked run) will have
errors if Java3D or jmf aren't loaded properly, but those can be ignored or
dealt with separately for most purposes.  

For every project in which we use Mason, we just go to Properties,
Buildpath, and Projects, and then add the Mason project. 

This gives us ready access to the Mason code and examples, as well as making
Mason work in our programs. I find this works well for other Java toolsets,
such as JFreeChart. 

Hope that helps...

John   

-----Original Message-----
From: MASON Multiagent Simulation Toolkit
[mailto:[log in to unmask]] On Behalf Of Sean Luke
Sent: Tuesday, June 09, 2015 4:59 PM
To: [log in to unmask]
Subject: Re: Does anyone have clear installation instructions for MASON on
Mac OS X 10.10

On Jun 9, 2015, at 8:28 AM, Luís de Sousa <[log in to unmask]> wrote:

> Hi K,
> 
> One of my colleagues recently installed MASON on a Mac to test some of 
> the tools I have been developing. This is what he did:
> 
> 1. Install Java from Oracle (I recommend going with version 8)
> 
> 2. Install Eclipse
> 
> 3. Download the MASON jar
> 
> 4. Create a new Java project in Eclipse and add the MASON jar to the 
> build path

I would also add the jar files from the libraries.zip file availailable
online.  

> Like this you won't have 3D support but you'll be good to go for 
> everything else.

Building 3D support for the Mac is a matter of grabbing a bunch of jar files
from the jogamp website, and dumping them in as well (see the MASON web page
for rough instructions).

SEan