Create java program