Add Java directory