math85360 / javacef

Automatically exported from code.google.com/p/javacef
0 stars 0 forks source link

Chrome version mismatch #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I am running SampleBrowserAWT.java on windows 7 (64 bit with JDK x86 version). 
It runs perfectly but when i load (http://www.browserproperties.com/) to check 
a chrome version it showing me version:18.0.1025.166 however on my machine 
currently installed chrome version is: 40.0.2214.111. 

How i can upgrade this any idea of that ?

Thanks
Noman 

Original issue reported on code.google.com by MNomanSa...@gmail.com on 11 Feb 2015 at 12:22

Attachments:

GoogleCodeExporter commented 9 years ago
This project uses its own chromium binary instead of your installed chrome 
version. I think you are using cef1 which is version 18. You can try the cef3 
folder which has version 33. 
(https://code.google.com/p/javacef/wiki/CEF3Instructions)

Original comment by wjyw...@gmail.com on 11 Feb 2015 at 9:51

GoogleCodeExporter commented 9 years ago
Thanks for reply. Yes i am using cef1 and a cef_runtime which comes along this 
distribution. I am not getting the instruction to build cef3 is there any other 
way to download already build runtime and cef3 jar? Not much familiar how i can 
build this distribution to get latest chrome version.

Thanks

Original comment by MNomanSa...@gmail.com on 11 Feb 2015 at 10:45

GoogleCodeExporter commented 9 years ago
You will need to build cef3 with the instruction. Issue 3 has the method to 
update the cef version, but it would be a lot of work. You will need to read 
https://code.google.com/p/chromiumembedded/, choose a version from 
http://cefbuilds.com/, merge the changes in this project and fix any new issues 
due to version upgrade. If chromium 33 works for you, you can try cef3 and this 
project will update to cef 3.2171.1979 (chromium 39) in the future.

Original comment by wjyw...@gmail.com on 14 Feb 2015 at 2:41

GoogleCodeExporter commented 9 years ago
OK i will try with that. Is there any possibility with this API that i can use 
run time of installed chrome on my machine rather than to build each time 
whenever we need to upgrade a new chrome version. And also how we can install 
flash plugin or web RTC support on this ?
What i am looking for to embed installed chrome inside a frame and in that case 
it would be very easy to installed whatever plugin and setting of chrome user 
want to set and also chrome version will be automatically update and get the 
same as running on machine. 

Thanks 

Original comment by MNomanSa...@gmail.com on 14 Feb 2015 at 12:26

GoogleCodeExporter commented 9 years ago
Using installed chrome is currently not possible, because you have to change 
chrome's source code and build a custom version for embedding. CEF does this. 
Also in each version the API may change, so the code in this project also needs 
to be changed. 

For flash and webrtc, you should search the upstream cef project:
http://magpcss.org/ceforum/viewtopic.php?f=10&t=11163

Original comment by wjyw...@gmail.com on 14 Feb 2015 at 10:57