upgrade remote-pair-server.js with correct jdk version 1.6