Eclipse IDE linux configuration

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

Eclipse IDE linux configuration

Postby FranRaga » Mon Mar 02, 2020 2:21 pm

Hi devs

I'm having trouble launching a sample project with eclipse.
From console I launch it without problems, but from eclipse nope, I have all the paths configured but I can not solve this error in Linux (In windows works ok)

Code: Select all
/libjcef.so: libjawt.so: cannot open shared object file: No such file or directory

Any ideas?

I know this needs to be launched before java, but I can't find a way to do it. As an environment variable in eclipse it doesn't work either

I'm using Ubuntu 18.04 and latest CEF Version

thanks
FranRaga
Newbie
 
Posts: 2
Joined: Mon Mar 02, 2020 2:10 pm

Re: Eclipse IDE linux configuration

Postby magreenblatt » Mon Mar 02, 2020 3:31 pm

JCEF requires specific environment and java command arguments. After creating a distribution from your local JCEF build you will find a run script that shows the necessary commands.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Eclipse IDE linux configuration

Postby FranRaga » Tue Mar 03, 2020 3:25 am

Yes I know.

How I can preload libcef.so in eclipse?
thanks
FranRaga
Newbie
 
Posts: 2
Joined: Mon Mar 02, 2020 2:10 pm

Re: Eclipse IDE linux configuration

Postby magreenblatt » Tue Mar 03, 2020 11:16 am

Have you tried setting LD_PRELOAD before launching eclipse?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 27 guests