Not possible to build JCEF

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

Not possible to build JCEF

Postby edominic » Wed Apr 22, 2015 6:47 am

Hey guys ;)
I tried to build JCEF with instructions from here: https://bitbucket.org/chromiumembedded/java-cef/wiki/BranchesAndBuilding
but it is not possible.
Every time I try to build, I get following error:
Code: Select all
/workspace/java-cef/src/xcodebuild/jcef.build/Debug/jcef_simple_app.build/Script-F7D6610306CA5ACF0ED4A45C.sh: line 2: exec: ant: not found

I installed ant through homebrew and I can call it on terminal.

I'm on MacOsx 10.10 with Xcode 6.3

Edit:
After trying to set environment.plist, setting $PATH in Build Settings, I have to launch project from command line, then it builds
edominic
Mentor
 
Posts: 82
Joined: Fri Mar 13, 2015 6:46 am

Re: Not possible to build JCEF

Postby moonga » Mon May 18, 2015 4:59 pm

Hi, I'm running into the same problem, and am hoping the solution you tried will work for me.

Can you go into more detail on what settings you put to what in XCode or other?

I've successfully installed ant, and just need to figure out how to point XCode to it properly.

Thanks!
moonga
Newbie
 
Posts: 5
Joined: Fri May 08, 2015 6:20 pm

Re: Not possible to build JCEF

Postby edominic » Tue May 19, 2015 12:56 am

Did you install ant via Homebrew?

Then you have to open your jcef-project from terminal.

cd /path/to/java-cef/src
open jcef.xcodeproj

This will open XCode with jcef project.

Every time, you open xcode/project from terminal, xcode will use your system-environment variables (which knows ant) and not its own environment variables (which doesn't know ant).

I hope, I could help you ;)

Good Luck ;)
edominic
Mentor
 
Posts: 82
Joined: Fri Mar 13, 2015 6:46 am

Re: Not possible to build JCEF

Postby moonga » Tue May 19, 2015 7:16 pm

Thanks for the reply!

It turned out I just skipped the part about launching from command line. After I did that it ended up working, so thanks again! :)
moonga
Newbie
 
Posts: 5
Joined: Fri May 08, 2015 6:20 pm

Re: Not possible to build JCEF

Postby yosep331 » Fri Aug 21, 2015 3:40 am

hi..

i have same problem

already install ant via homebrew and open jcef.xcodeproj via terminal

still have same error...

thanks..
yosep331
Techie
 
Posts: 18
Joined: Tue May 19, 2015 3:28 am

Re: Not possible to build JCEF

Postby JavaProgramer » Sat Nov 07, 2015 6:12 pm

Hi,
I fixed problem by doing copy/paste of ant executable file to bin directory of MAC
JavaProgramer
Newbie
 
Posts: 8
Joined: Sat Nov 30, 2013 10:05 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 28 guests