temporary removed server.java.javaagentpath, cleaned the code a little bit