From the notes on using XULRunner here , it seems that using version 10.x is correct.
I managed to run your code by downloading XULRunner 10.0.4esr . I followed the installation steps mentioned in this answer and also pointed to the directory bin.
- Download
xulrunner-10.0.4esr.en-US.win32.sdk.zip from this directory xulrunner - ( c:/xulrunner, C:/Program Files (x86)/XULRunner .- VM (
-Dorg.eclipse.swt.browser.XULRunnerPath) System.setProperty(), . , bin, xulrunner.
, XULRunner ( SDK), , , , . , , :
String pathToXulrunner = "C://Program Files (x86)/Mozilla XULRunner/";
:
String pathToXulrunner = "C:/Program Files (x86)/Mozilla XULRunner/bin";
64- Windows 10 SWT 4.5.2, .
: , 32- (32- Java 32- SWT). , 32- , . XULRunner 24 64- JRE, .
2: 64- bin xulrunner-1.9.2.25 : https://osdn.net/projects/sfnet_runawfe/downloads/SRC%20and%20BIN%20files/extras/xulrunner-1.9.2.25-win64.zip/
. , bin ( SDK), bin pathToXulrunner.
, - .
3: xulrunner-1.9.2.25.en-US.win64.zip