為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

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.