chili: with java