The tool used to compile openjdk is Ant. During this period, it will be connected to the Internet to provide necessary code or tools,
So if you use a proxy to access the Internet, you may be in a little trouble. java.net. connectexception: You will be prompted for an exception.
Then, the system immediately exits with an error and starts to think That download.java.net is under a wall;
The results Google, found this brother (http://forum.hadoop.tw/viewtopic.php? F = 4 & t = 2043)
I encountered the same problem when compiling the hadoop source code. He and I both use ant as the tool, and I useIEThe Network on the proxy.
Naturally, I thought it was a proxy, so I set it in CLI according to the instructions, OK;
Export
Ant_opts = "-dhttp. proxyhost = proxy-dhttp. proxyport = 8080"
Hadoop is very popular recently. I believe many of my friends will also encounter it and hope it will be useful to everyone.
Http://ant.apache.org/manual/proxy.html (details)