java path can now be passed as argument to server class