The Bot Libre AI Engine is a Java library that you can use for bots and artificial intelligence in a "Java" application. You can add the botlibre-ai.jar to your Java application to use it.
The AI Engine contains an Eclipse project you can load it as, and the Test project gives a list of JUnit tests you can run, and use as examples. The AI engine requires a PostgreSQL database that you must install and configure, and update the password in the AI engine's persistence.xml file.
There are ant build files in the projects for rebuilding the jars, and in the test build there is an initdb task that must be run to create the database.