add java thread project