How to include the JCEF MainFrame sample into a project

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How to include the JCEF MainFrame sample into a project

Postby smartBeaver » Wed May 26, 2021 9:59 am

I have been trying to use an embedded chromium browser in a Java application. For this, I am using JCEF. I have built JCEF by following the readme but now I am lost as to how to integrate it into my project. I am looking for instructions similar to the ones posted here:

https://stackoverflow.com/questions/211 ... -with-java

But more up to date (since some paths he mentions do not exist in my version of JCEF). I am using Ubuntu 20. If someone could provide me with the steps required or a a nudge in the right direction it would be a great first step. I tried:

-making a jar folder with the gluegen jars in it.

-moving the org folder to my project folder.

How would I run the resulting project using netbeans or the command line? Thank you for reading!
smartBeaver
Techie
 
Posts: 10
Joined: Wed May 26, 2021 7:51 am

Re: How to include the JCEF MainFrame sample into a project

Postby magreenblatt » Wed May 26, 2021 11:49 am

See the manual packaging instructions for a stand-alone app. I'm not sure what would be required for NetBeans integration.
magreenblatt
Site Admin
 
Posts: 10939
Joined: Fri May 29, 2009 6:57 pm

Re: How to include the JCEF MainFrame sample into a project

Postby smartBeaver » Wed May 26, 2021 2:21 pm

Thanks, I will modify the included MainFrame to suit my needs instead of including it into another project.
smartBeaver
Techie
 
Posts: 10
Joined: Wed May 26, 2021 7:51 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 20 guests