JCEF (Java Chromium Embedded Framework) build guide for windows
I suggest watching in 1.25x speed.
!IMPORTANT
Over last few years the guys working on JCEF have finally decided to start providing recent versions of chromium, so check out this URL:
https://github.com/jcefmaven/jcefmaven/releases
In this video I am following the guide from the java cef repository.
https://bitbucket.org/chromiumembedded/java-cef
There is already j-cef build on maven, but it is outdated and there are some bugs coming from chromium itself so it is better to get the latest version.
For the build process I have used java 11, python, cmake and Visual Studio 2017 with build tools v141.
Also in the video I am showing how to dynamically add path variables withing the scope of the application using reflection.
Link to the utility class for loading the native libraries:
https://pastebin.com/kXDCM7dP
Link to the google drive with the whole project for java 8:
https://drive.google.com/file/d/1Dh-jqXj_uSwft1tjdr_bVmHAydYacNpV/view
------------------------------------------------------------------------------------------------
I found that there weren't any videos showing how to build the library and there were a lot of questions on stackoverflow so I decided to record a video following the guides and hopefully help someone.
I will provide a link to a repo with the changes from the video soon, but you can message me and I will be glad to send you the code or the .jar file that we created in this video.
Link to my facebook, if you want to message me:
https://www.facebook.com/ceci2205
For those who are wondering if it is possible to run jcef on javafx - It is not currently possible since javafx does not provide an OpenGL Node to natively render the browser's frames.
There is a way to do it with SwingNode, but it is still really hard to achieve and it will be more than 100 times slower.
OpenJFX will have a way to render OpenGL content, but it is still in the works.
Link to discussion: https://bitbucket.org/chromiumembedded/java-cef/issues/163/povide-javafx-node-for-jcef
Watch my other video on how to build CEF (C++)
https://www.youtube.com/watch?v=WuxaTPch12M
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «JCEF (Java Chromium Embedded Framework) build guide for windows», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.