Running JCEF with Java 1.7.0_079

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

Running JCEF with Java 1.7.0_079

Postby MicroHat » Tue Jun 23, 2015 5:11 am

Hello

I've managed to get JCEF working with Java 1.7.0_079. I've installed Java 1.7 correctly setting environmental paths but I can only manage to get JCEF working if I add the whole jdk 1.7.0_079 to my project, else I get an error saying "jcef.dll: can't find dependent libraries". I used DependencyWalker to figure out 'jawt.dll' is missing. Of course this belongs to the jdk 1.7 but it doesn't seem to find it at all. When I open 'cmd' and type java -version or javac -version both display Java 1.7.0_079. Even programatically grabbing the classpath using System.getenv("CLASSPATH"); displays "C:\Program Files\Java\jdk1.7.0_79\jre\lib". Is there some kind of VM argument I need to set in order to make the jcef.dll find jawt.dll?

Thanks in advance
MicroHat
MicroHat
Techie
 
Posts: 14
Joined: Tue Jun 23, 2015 5:04 am

Re: Running JCEF with Java 1.7.0_079

Postby edominic » Mon Jun 29, 2015 2:37 am

displays "C:\Program Files\Java\jdk1.7.0_79\jre\lib"


It points to jre, not jdk. But it has to point to jdk
edominic
Mentor
 
Posts: 82
Joined: Fri Mar 13, 2015 6:46 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 129 guests