delete doc from project

people can build doc from src
change some code makesuer it can be build in JDK1.6
change some code makesuer it can be build in JDK1.6