Small java app