- Jubatus 1.1.0+ (server)
Requires Eclipse IDE for Java Developers.
Tested with Indigo SR2 (3.7.2) and Juno SR1 (4.2.1).
Please note that Java EE Developers edition does not support Git by default.
To import a skeleton project to Eclipse IDE:
- Choose
Import...fromFilemenu. - Select
Git>Projects from Git, then clickNext. - Select
URI, then clickNext. - Fill
URIfield withhttps://github.com/jubatus/jubatus-java-skeleton.git, then clickNext. - Follow the instruction on the dialog and complete the wizard.
Once the import has been completed, Maven will automatically download Jubatus client library and other dependencies.
Now, direct to src/main/java/ directory.
You will see Client.java in the (default package) tree.
Client.java is a simple example that illustrates the usage of Jubatus recommender.
To run the client program, right-click on the Client.java and select Run As > Java Application.
Make sure you start the jubarecommender process before running the client.
$ jubarecommender --configpath /usr/local/share/jubatus/example/config/recommender/lsh.json &
We assume that Jubatus was installed into /usr/local/. Otherwise, please modify the path.
Requires Maven.
mvn compile
mvn exec:java