I wrote JMegaHal a couple of months ago, but people kept prodding me to make it available so they could put their own AI into their IRC bots or whatever. So there it is.
It's simply based on MegaHAL, but it's implemented as a Java package, so you can easily make use of it from your own Java programs.
The jar file also contains the source code and is only 6kb in size, so you can see how simple it is at the moment.
A few people have already started by making a PircBot use the JMegaHal package to read in large text documents and spout out random jibble!