1 参考官方文档
https://www.eclipse.org/swt/faq.php#howusechromium
Q: How do I explicitly use Chromium as the Browser’s underlying renderer?
A: To specify that a Chromium renderer be used by a Browser instance, create it with style SWT.CHROMIUM (@since 4.17) or set the Java property org.eclipse.swt.browser.DefaultType=chromium.
You can get the SWT-Chromium libraries from the Eclipse SDK or from the standalone SWT Chromium support libraries section on the download page.
To use the Chromium libraries from the Eclipse SDK:
Install the CEF binaries in Eclipse from the p2 repo - CEF p2 repo from Make technology
Add the required jars to classpath of project:
SWT-Chromium fragment (org.eclipse.swt.browser.chromium....jar)
SWT fragment (org.eclipse.swt....jar)
CEF binary (com.make.chromium.cef....jar)
To use the Chromium libraries from the standalone SWT downloads:
Get CEF binaries for your platform from the p2 repo:
CEF GTK binaries
CEF Mac binaries
CEF Windows binaries
Add the required jars to classpath of project:
SWT-Chromium standalone jar (swt-chromium.jar)
SWT standalone jar (swt.jar)
CEF binary (com.make.chromium.cef....jar)
To launch Eclipse with Chromium as the default browser type:
Install the CEF binaries in Eclipse from the p2 repo - CEF p2 repo from Make technology
In eclipse.ini, add -Dorg.eclipse.swt.browser.DefaultType=chromium under -vmargs.
2 下载
下载swt, 下载 swt-chromium , 下载 CEF Windows binaries( 比较难).
https://download.eclipse.org/eclipse/downloads/drops4/S-4.17RC1-20