To create a library,
Download the latest releases for jMonkeyAI, criteria, jme3-artificial-intelligence.
Create a new
Java>Class Library project for criteria, jme3-artificial-intelligence, if using the SDK or Netbeans. Anything else your on your own.
Create a new basic jme3 game for jMonkeyAI.
Delete the myGame folder from the jMonkeyAI basic game you just created.
RMB select the jMonkeyAI basic game project then select, Set Configuration>Customize>Sources and change source to JDK8.
com folder of each
zipped file, jMonkeyAI, jme-artificial-intelligence, and
org folder forCritterAI, and extract each into its respective project src folder.
For the jme3-artificial-intelligence library add the jme3-core library by RMB selecting library folder>add library.
Clean and build the criteria, jme3-artificial-intelligence libraries.
You will now have a jar available in the dist folder of each library project.
Follow these instructions for making a global library for criteria and jme3-artificial-intelligence,
Add each library plus jme3-test-data to the jMonkeyAI project by RMB selecting the library folder and then add library.
Clean and build the jMonkeyAI project.
The first time you run the project it will ask you to set a main class, select Jme3AI.