Those links point to your local machine, they will not work for anybody else.
Can you provide some more context of what you are doing? Is this a Java desktop application, a web application, or something else? Are you programming a servlet or an applet? When and where in your code does this happen? Can you show us your code?