Ensure your $CLASSPATH is clear and try again! caught me out .. Always compile all files in a package at the same time; for example, in the directory Javadir/ListPkg type: javac *.java
Ensure that the div data sources are declared before the script to populate is executed.
Ensure your DNS settings are configured to that of your service provider otherwise you will not obtain internet connectivity. Check your VM NAT network settings – the gateway is default as 192.168.149.2 not .1
Ensure you have not saved the file with the TXT extension and you are opening your editor with administrator privileges.