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

I changed Java settings and now Firefox crashes as it opens, even in safe mode; how can I fix this?

  • 3 replies
  • 1 has this problem
  • 1 view
  • Last reply by John99

more options

I was trying to change settings to access the comments section of Slate.com. Right or wrong, I changed a Java setting from -1 to 2. The setting was in about:config and I believe it involved some sort of max. As I cannot open anything, I am not sure.

When I made the change, firefox crashed immediately, Every time I have tried to reopen, even in safe mode, it immediately crashes again and will not reopen.

I was trying to change settings to access the comments section of Slate.com. Right or wrong, I changed a Java setting from -1 to 2. The setting was in about:config and I believe it involved some sort of max. As I cannot open anything, I am not sure. When I made the change, firefox crashed immediately, Every time I have tried to reopen, even in safe mode, it immediately crashes again and will not reopen.

Chosen solution

Hi pternagy, Sorry you are having problems.

For future reference. Those of us that mess directly with about:config soon learn how to recover from mistakes and what it is sensible to backup. Occasionally backing up your entire profile for instance can be useful and would have probably given you a quick solution of copying over the file from that backup.

Ok on to the subject of trying to get Firefox back as it was: Find your profile and the file prefs.js and rename that. (The renamed file is a potentially useful backup.) Firefox is then forced to regenerate the file and will reset your preferences to the default. You can then re open and use Firefox. Next try to get it back to normal.

Trying to manually edit the file prefs.js is normally a bad idea. However if it is a single pref change it may be possible to directly edit the prefs.js file (whilst Firefox is closed) to get everything back to how it was before . You have the renamed file to work with. Probably best to test all this out in a new additional profile then you only break additional test profiles not working profiles essential to Firefox.

These articles should help you:

Please post back with how you get on and whether you need any extra help. Good Luck.

Read this answer in context 👍 1

All Replies (3)

more options

Chosen Solution

Hi pternagy, Sorry you are having problems.

For future reference. Those of us that mess directly with about:config soon learn how to recover from mistakes and what it is sensible to backup. Occasionally backing up your entire profile for instance can be useful and would have probably given you a quick solution of copying over the file from that backup.

Ok on to the subject of trying to get Firefox back as it was: Find your profile and the file prefs.js and rename that. (The renamed file is a potentially useful backup.) Firefox is then forced to regenerate the file and will reset your preferences to the default. You can then re open and use Firefox. Next try to get it back to normal.

Trying to manually edit the file prefs.js is normally a bad idea. However if it is a single pref change it may be possible to directly edit the prefs.js file (whilst Firefox is closed) to get everything back to how it was before . You have the renamed file to work with. Probably best to test all this out in a new additional profile then you only break additional test profiles not working profiles essential to Firefox.

These articles should help you:

Please post back with how you get on and whether you need any extra help. Good Luck.

more options

Thanks. That helped a lot.

As I suspected, it was the change in Java setting.s

more options

You’re welcome. Thanks for posting back. Glad it is working again.