Hey, you probably have the same problem i had some days ago.
its that when you download the file windows wants to open it with winrar, but you want it to open with java.
simply right click the file, and click properties
where it says: open with: click on change. you should see the option to click on Java(TM) or something
after that close everything, and double click the file you downloaded and it should work