Some Java work