Moving "Setup server" step to before installing newer java

Otherwise add-apt-repository is not available.