Syncing the java connector