Today, I tried to deploy the heritrix crawler. I have never played java before. It took a lot of time to prepare the environment. First, the 32bit and 64bit environment problems occurred. I installed the 32bit JVM on win2008, the result shows that 64-bit eclipse is downloaded. The result is: failed to load the JNI shared library "D: \ Java \ bin \ Client \ JVM, And the JVM cannot be loaded. DLL. It was discovered that it was a 32-bit and 64-bit problem. After downloading the 64-bit JVM, it would be okay.
For installation instructions, see:
Http://www.ibm.com/developerworks/cn/opensource/os-cn-heritrix/index.html
Installation Problems:
Exception in thread "Main" org. mortbay. util. multiexception [java.net. bindexception: address already in use: jvm_bind]
At org. mortbay. http. httpserver. Start (httpserver. Java: 640)
At org. archive. crawler. simplehttpserver. startserver (simplehttpserver. Java: 279)
At org. archive. crawler. heritrix. startembeddedwebserver (heritrix. Java: 1236)
At org. archive. crawler. heritrix. dow.lineargs (heritrix. Java: 715)
At org. archive. crawler. heritrix. Main (heritrix. Java: 556)
The reason is that the port is occupied. change or terminate the port.ProgramYou can.
The selection does not contain a main type
Solution: Delete the JRE system library in libraries of buidl path, and then click Add libraray on the right to join again. This is strange.