Add Java source file.