Java CEF in a Java Project on Mac OSX

Having problems with building or using the JCEF Java binding? Ask your questions here.

Re: Java CEF in a Java Project on Mac OSX

Postby rmraya » Mon May 21, 2018 4:55 pm

My app is a web application written in Java using GWT. I use jetty-runner to deploy the app as a .war file.

I need a predictable browser to display the app. Originally, I used CEF on Windows and Safari on Mac.

As I still need Java to run jetty, I modified the Windows launcher to use JCEF + Jetty wrapped in an SWT-based GUI, and it works pretty well.

I wanted to reuse most of the code but JCEF doesn't build on latest macOS with latest Xcode.

Now I have a working solution: I use Electron to start Jetty and display the app in its embedded Chrome browser. Integration with the operating system works well and I can implement t he native menus using Electron instead of Java + SWT

I will keep checking JCEF and see if it becomes possible to build it on MacOS in a near future.

Regards,
Rodolfo
rmraya
Newbie
 
Posts: 8
Joined: Tue May 08, 2018 12:32 pm

Re: Java CEF in a Java Project on Mac OSX

Postby fredwilliamtjr » Wed Jan 29, 2020 11:29 am

Rodolfo, did you manage to run macOs?
fredwilliamtjr
Newbie
 
Posts: 1
Joined: Wed Jan 29, 2020 11:24 am

Previous

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 2 guests