Fix the creation of an empty Java project

Fixes #4