Using 'sun.security.tools.KeyTool' restricts to Oracle-based JVM's.

Description

Using 'sun.security.tools.KeyTool' to handle keystores mean that Heritrix will only run on Java Virtual Machines with this class present. As it is an Oracle-specific class only Oracle-based JVM's will be able to execute Heritrix.

For Linux systems the IBM JVM is a frequent alternative to the OpenJDK, as it is available for free after registration from http://www.ibm.com/developerworks/java/jdk/, and it does not contain the sun.security.tools.KeyTool causing Heritrix to fail.

A possible solution may be to use the BouncyCastle implementations to do the keystore handling.

Environment

None

Activity

Show:
Noah Levitt
August 6, 2014, 4:24 PM

It's not strictly necessary for heritrix to run on any jdk, as long as it runs on some freely available jdk, so I don't see this as a priority, but pull requests are welcome.

Thorbjørn Ravn Andersen
August 20, 2014, 12:53 PM

After doing some code browsing I have also found that the JVM used for the Heretrix 3 project must be a JDK and not a JRE otherwise the class is not available causing the IDE build to fail.

Assignee

Unassigned

Reporter

Thorbjørn Ravn Andersen

Labels

None

Issue Category

None

Group Assignee

None

ZendeskID

None

Estimated Difficulty

None

Actual Difficulty

None

Affects versions

Priority

Minor
Configure