Use abs links
Use /static/ for static files
Update java example