Java – invalid or corrupt jarfile / usr / local / bin / selenium-server-standalone-2.38 0.jar

I tried to master unittesting and began to focus on this nettuts tutorial In this tutorial, it lets you download a java file from here Then move the file and use

java -jar /usr/local/bin/selenium-server-standalone-2.38. 0.jar

This file is intended to run

My problem is that I got the message

jarfile /usr/local/bin/selenium-server-standalone-2.38. 0.jar is invalid or corrupt

The search I did to solve this problem talked about people creating their own files or downloading errors, because the file size should be larger than the download My 34.6mb is what I think is right I also checked the Java version I was running (1.6.0_65), (here said 1.6 was good)

This seems to be a common problem, but I can't find any solution

Solution

After trying many different options, including multiple downloads, the was file appears to be corrupted

I downloaded it from here instead and it worked for the first time

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>