Since 6.21, JxBrowser distribution package includes Chromium 64-bit binaries for Windows platform. So, now JxBrowser provides both the jxbrowser-win32.jar and jxbrowser-win64.jar libraries that contain Chromium 32-bit and Chromium 64-bit binaries accordingly.(从6.21开始,JxBrowser分发软件包包括适用于Windows平台的Chromium 64位二进制文​​件。因此,现在JxBrowser提供了jxbrowser-win32.jar和jxbrowser-win64.jar库,它们分别包含Chromium 32位和Chromium 64位二进制文​​件。)


Important: Please note that Chromium 64-bit binaries for Windows, supports only Windows 64-bit environment and cannot be used on Windows 32-bit.(重要提示:请注意,用于Windows的Chromium 64位二进制文​​件仅支持Windows 64位环境,不能在Windows 32位上使用。)


Which one is used?(使用哪一个?)

It depends on the Windows architecture and your Java application classpath.(它取决于Windows体系结构和Java应用程序的类路径。)


Both jxbrowser-win32.jar and jxbrowser-win64.jar added to the classpath(jxbrowser-win32.jar和jxbrowser-win64.jar都添加到类路径中)

If you include both JAR files into your Java application classpath and run JxBrowser in a Windows environment for the first time, JxBrowser will check the environment architecture and extract/use the appropriate Chromium binaries. On Windows 64-bit JxBrowser will extract and use Chromium 64-bit binaries. On Windows 32-bit – Chromium 32-bit binaries.(如果您将两个JAR文件都包含在Java应用程序类路径中,并首次在Windows环境中运行JxBrowser,则JxBrowser将检查环境体系结构并提取/使用适当的Chromium二进制文件。在Windows 64位上,JxBrowser将提取并使用Chromium 64位二进制文​​件。在Windows 32位– Chromium 32位二进制文​​件上。)


Only jxbrowser-win32.jar added to the classpath(仅jxbrowser-win32.jar添加到类路径)

In this case Chromium 32-bit binaries will be extracted and used. Chromium 32-bit binaries work well in both Windows 32-bit and 64-bit environments.(在这种情况下,将提取并使用Chromium 32位二进制文​​件。 Chromium 32位二进制文​​件在Windows 32位和64位环境中均能很好地工作。)


Only jxbrowser-win64.jar added to the classpath(仅jxbrowser-win64.jar添加到类路径)

In this case JxBrowser checks the Windows architecture. If it’s a Windows 64-bit environment, then Chromium 64-bit binaries will be extracted and used. If it’s a Windows 32-bit environment – an exception will be thrown.(在这种情况下,JxBrowser检查Windows体系结构。如果是Windows 64位环境,则将提取并使用Chromium 64位二进制文​​件。如果是Windows 32位环境,则将引发异常。)


Recommendations(推荐建议)

If you know that your end users use only Windows 64-bit environment or Windows 32-bit isn’t supported by your software, then it’s recommended to use only jxbrowser-win64.jar.(如果您知道最终用户仅使用Windows 64位环境,或者您的软件不支持Windows 32位,则建议仅使用jxbrowser-win64.jar。)


If your software supports both Windows 32-bit and 64-bit environments, and it’s critical to have the size of your software distribution package as small as possible, then it’s recommended to use only jxbrowser-win32.jar.(如果您的软件同时支持Windows 32位和64位环境,并且使软件分发包的尺寸尽可能小至关重要,那么建议您仅使用jxbrowser-win32.jar。)


If your software supports both Windows 32-bit and 64-bit environments, and the size of your software distribution package isn’t important, then you can use both jxbrowser-win32.jar and jxbrowser-win64.jar.(如果您的软件支持Windows 32位和64位环境,并且软件分发包的大小并不重要,则可以同时使用jxbrowser-win32.jar和jxbrowser-win64.jar。)