Simple Java apps