wail icon indicating copy to clipboard operation
wail copied to clipboard

Is an older version of Java still required for OWB/Heritrix?

Open machawk1 opened this issue 7 years ago • 6 comments
trafficstars

In the past, WAIL has checked for a specific version of Java (6/7?) and if it was not installed, did so. This was due to a requirement by OWB/Heritrix (I believe the latter was the culprit) that did not work with newer versions of Java.

This ought to be re-checked to see if it is still a requirement to have an older version of Java.

machawk1 avatar Feb 08 '18 16:02 machawk1

@n0tan3rd Are you familiar with the current state of this requirement for the two tools? From memory, I believe it had to do with Heritrix's usage of something certificate related.

machawk1 avatar Feb 08 '18 16:02 machawk1

@machawk1 that is correct. The bundled version of Heritrix (3.2) requires Java 7 whereas version 3.3 can run on Java 8. OpenWayback does not share in that restriction as far as I remember.

N0taN3rd avatar Feb 08 '18 17:02 N0taN3rd

@N0taN3rd Thanks for the info. Are you aware of any tickets of changelogs documenting this fix relative to Java versions and the Heritrix code breakage? The latest release of Heritrix still appears to be 3.2 though I am aware there has been a 3.3.0 nightly build for a while. Ideally we could use the user's installed version of Java instead of having to install a new (old) one.

machawk1 avatar Feb 08 '18 17:02 machawk1

@machawk1 I do not recall off the top of my head but I believe you would have to rebuild the project yourself and deal with errors. I tried that at one time and the errors were with the JSPs served by Heritrix. The 3.3.0 nightly is rather stable when I have used it.

N0taN3rd avatar Feb 08 '18 18:02 N0taN3rd

Related: https://kris-sigur.blogspot.com.ee/2014/10/heritrix-java-8-and-sunsecuritytoolskey.html

machawk1 avatar Feb 08 '18 19:02 machawk1

Asked this re:OWB and Heritrix on the IIPC Slack. To spare them the irrelevant location but still give credit:

  • AJackson: Not sure about OWB but we are running H3 under J8 just fine.
  • ato: No problems with either under 8. OWB runs under 11 although I haven't tested it extensively. Don't think I've tried Heritrix on 11.
  • NRuest: Heritrix 3.2.0 had a problem with the initialisation (or something like that, don't 100% recall) with Java 8. So you had to fire it up the first time with Java 7, but it worked just fine with Java 8 after that.

machawk1 avatar Feb 21 '19 19:02 machawk1