add first java code