added java stuff to paper