Convert project from general project to Java project