Simplify the simple Java project sample