This java code downloads all the JPEG images from the webpage whose URL is supplied as command line argument.