Problem launching firefox with same profile from the command line and from a java application
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. … (read more)
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.