Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Problem launching firefox with same profile from the command line and from a java application

  • 5 risposte
  • 0 hanno questo problema
  • 1 visualizzazione
  • Ultima risposta di cor-el

more options

We are launching firefox from the command line with a specific profile. We sometimes also need to launch firefox from a java application using that exact same profile. But when we do that, we get the error:

"Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile."

We do not get the error when launching from the java application if firefox was not previously started from the command line.

To say that again another way, - If we launch firefox from the command line two times, each time with the same profile, it works fine. - If we launch firefox from the Java application two times, each time with the same profile, it works fine. - But if we launch firefox from the command line then launch firefox from the java application, firefox won't launch due to the error above.

This is firefox 91.13.0esr 64-bit on Linux (CentOS 7).

Thank you for any help you can give.

We are launching firefox from the command line with a specific profile. We sometimes also need to launch firefox from a java application using that exact same profile. But when we do that, we get the error: "Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile." We do not get the error when launching from the java application if firefox was not previously started from the command line. To say that again another way, - If we launch firefox from the command line two times, each time with the same profile, it works fine. - If we launch firefox from the Java application two times, each time with the same profile, it works fine. - But if we launch firefox from the command line then launch firefox from the java application, firefox won't launch due to the error above. This is firefox 91.13.0esr 64-bit on Linux (CentOS 7). Thank you for any help you can give.

Tutte le risposte (5)

more options

Are you using the -no-remote command-line switch ?

more options

Using -no-remote had no effect.

more options

Just to clarify cor-el's question:

You don't want to use -no-remote either when you start the Firefox session or in command lines seeking to join new tabs to that session.

Is the problem specific to Java -- can other applications open a new tab in Firefox?

Disclaimer: I know very little about Linux.

more options

Hi, we only have java applications here.

more options

With Firefox running this will only work if you do not specify the profile and send the link to the current window and possibly set browser.link.open_newwindow.override.external accordingly.