This guide describes how to add JxBrowser to a Java application classpath.
In order to add JxBrowser to your application classpath please download a ZIP archive with the JxBrowser distribution package, extract it, and add the required JxBrowser JAR files from the
lib directory to your application classpath.
To add JxBrowser library that works on Windows, macOS, and Linux, please add the following JAR files to your application classpath:
java -classpath jxbrowser-7.0.jar;jxbrowser-win32-7.0.jar;\ jxbrowser-win64-7.0.jar;jxbrowser-mac-7.0.jar;jxbrowser-linux64-7.0.jar \ <app-class>
If you need JxBrowser JAR to work only on a specific platform, you can include only the corresponding JAR files to the program classpath as described below.
If your Java application runs only on Windows and macOS platforms and you do not support Linux platform, then you can include only Windows and macOS dependencies.
java -classpath jxbrowser-7.0.jar;jxbrowser-win32-7.0.jar <app-class>
java -classpath jxbrowser-7.0.jar;jxbrowser-win64-7.0.jar <app-class>
java -classpath jxbrowser-7.0.jar;jxbrowser-mac-7.0.jar <app-class>
java -classpath jxbrowser-7.0.jar;jxbrowser-linux64-7.0.jar <app-class>
Adding Product License
In order to work JxBrowser needs a valid product license available in the Java program classpath. The license is not included into the distribution package.
To get a free 30-day evaluation license for JxBrowser please send us a request via this web form.
Upon request you will receive an email with a download link to evaluation license file —
license.jar file to your application classpath. For example:
java -classpath license.jar;<jars> <app-class>