jcefmaven / jcefmaven

Maven artifacts for JCef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to find chrome_elf.dll program at the prompt in Win7

jackyHJ opened this issue · comments

Describe the bug
Unable to find chrome_elf.dll program at the prompt in Win7,Win10 can run normally

To Reproduce
Steps to reproduce the behavior:

  1. CefApp.getInstance(args,settings)

Expected behavior

Screenshots
图片

Environment (please complete the following information):

  • OS: windows 7 sp1
  • Architecture: amd64
  • Version cef_binary_113.1.5+ge452d82+chromium-113.0.5672.93_windows64

Additional context

Source code
CefSettings settings = new CefSettings();
settings.windowless_rendering_enabled = useOSR;
cefApp_ = CefApp.getInstance(args,settings);

commented

Please read the readme, this is not how you work with jcefmaven.

Please read the readme, this is not how you work with jcefmaven.
Where is the relevant explanation in the readme,The same code can be run in Win10,Could you please give me some guidance?

commented

It is directly under "How to use", the long code block: https://github.com/jcefmaven/jcefmaven#how-to-use

You need to use the builder pattern to create your instance. You use the normal jcef approach which will not install the required dependencies for you. The browser needs to be downloaded and set up before you can actually use it. This is all automatic, but only if you use the builder.

@jackyHJ hi,jackHJ, I have also encountered the same problem. How did you solve. can you give me some suggestions

Seeking help and solutions