-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start Heritrix with Windows 10 #398
Comments
Also relevant, fc82057 uses Heritrix 3.2.0 and per #345, a new version if available but is not a drop-in replacement per discussion in #345. We may want to replicate the commands to Heritrix that WAIL issues with an isolated version of Heritrix run on Windows 10 to verify compatibility between Heritrix and a newer version of Java than expected on macOS. |
See https://webarchive.jira.com/browse/HER-2085, per internetarchive/heritrix3#129 this might be fixed by updating Heritrix as in #345. |
To Get It Working™, let's bundle the Java 1.7 JDK like we have on macOS. If I recall, this was one barrier in Heritrix -- the Java security APIs that are used in Heritrix were removed in Java 1.8. |
With Java 7 SDK bundled for Windows, some of the Java checks are unnecessary. Unfortunately, if Java 8 is also installed on the system, it seems to get precedence over the bundled Java. Programatically adding the environment variables, as we do in |
This may have to do with how Heritrix is invoked on startup. Check Running the invocation: EDIT
EDIT2...or perhaps not. There does not appear to be a flag to send this value to Heritrix but instead, it ought to be |
Having the WAIL-Win code in ...but then the command to |
Heritrix now runs in Windows in ...but hitting the API to create and build scripts still seems problematic to the inaccessibility as reported on the CLI.
This may be related to #435 with regard to Windows not being configured with localhost access to 0.0.0.0 by default. As suspected, when Heritrix is running on Windows, the web interface is accessible using |
Wayback appears to use the system Java by default as well per Tomcat startup. |
Modified the Windows catalina startup script in bd8c30d |
Related to #155 but for Windows.
I compiled WAIL on Windows 10 from fc82057 then installed the latest Java from Oracle manually. When selecting the FIX heritrix button, the console reports that it will be opened in a new Windows.
The new window displays this:
Java version 1.8.0_201
Java SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot Client VM (build 25.201-b09, mixed mode)
The text was updated successfully, but these errors were encountered: