下载github上的Java代码,然后打开eclipse,在左边的工程栏,鼠标右键选择import,然后选择General->Existing Projects into Workspace,然后选着下来代码的路径下的文件,接下来一直next就可以了。