3

I used an evaluated jxbrowser, which version is 6.14, I write an demo to use it. but i have a problem with it.

Use the demo app to start an application, which can show web UI, keep this applciation with opened, but then I start demo app again, system will throw below exception: chromium profile directory is already/used by another BrowserContext instance or process

jxbrwowser cannot start two clients in one PC? if can, how to resolve it?

1 Answers1

0

We strongly recommend that you don't use several BrowserContext instances with the same profile directory. Chromium engine wasn't designed for such usage and doesn't support it. Even if you don't see any issues right now, the issues will appear later in end user environments. For example, in macOS environment you will get the Chromium's error message dialog every time when you run your application instance developed in such way.

Since it's a critical requirement in the Chromium engine, I don't think we will make it configurable in next versions. This is how Chromium engine works. These is a recommendation we have to follow when working with the Chromium engine.

Vladimir
  • 1
  • 1
  • 23
  • 30