Fix build and run java webserver