This wiki page has instructions about how to use or build in Windows.
Currently:
- Download all the sources using git command line. You can follow the steps on the Source tab.
- Set an environment variable "jdk" to jdk_path\bin. For me, it's D:\Program Files (x86)\Java\jdk1.7.0_21\bin
- Under command prompt, cd to windows\java. Run:
"%jdk%\java" -cp bin\javacef1-win32.jar;bin\swt.jar -Djava.library.path=..\cef_runtime org.embedded.browser.SampleBrowserAWT
- Download all the sources using git command line. You can follow the steps on the Source tab.
- Set an environment variable "jdk" to jdk_path\bin. For me, it's D:\Program Files (x86)\Java\jdk1.7.0_21\bin
- Copy all files except chromium_loader_win.dll in cef_runtime folder to jdk_path\bin.
- Make a backup to all files under windows\java\bin. This folder will be cleaned by Eclipse.
- Open Eclipse and import existing project under windows\java.
- Eclipse will normally build the project.
- Copy buildhead.bat and swt.jar back to windows\java\bin.
- Run buildhead.bat to generate jni headers. You may need to decompress swt.jar.
- Open windows\chromium_loader_win\chromium_loader_win.sln and build it.
- Copy compiled chromium_loader_win.dll to jdk_path\bin.
- You can run SampleBrowserAWT under Eclipse. You may need to add swt.jar to path in Eclipse.