Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When I try to add a theme to my Mozilla Firefox, Java says "invalid or corrupt jarfile", what is that?

  • 1 reply
  • 33 have this problem
  • 2 views
  • Last reply by cor-el

more options

First, I go to Mozilla's website, then I click on "Add-ons" and then I go to "themes". When I choose my theme, I click on "continue to download", which leads to a page with the User-license agreement, I click "accept and download", it starts to download, but then a pop-up from Java says "Invalid or corrupt file". Can you tell me what that means? And how do I fix it?

First, I go to Mozilla's website, then I click on "Add-ons" and then I go to "themes". When I choose my theme, I click on "continue to download", which leads to a page with the User-license agreement, I click "accept and download", it starts to download, but then a pop-up from Java says "Invalid or corrupt file". Can you tell me what that means? And how do I fix it?

All Replies (1)

more options

You can't install a theme that way. If you do not want to install the them directly from the Add-ons website then drag the .jar file in the left pane of the Theme Manager (Tools > Add-ons > Themes) to install the theme. If you double-click the downloaded themes .jar file then you get that error, so do not do that.

See also http://kb.mozillazine.org/Themes