Add Java source code