starting java side