Various Java programs