real-debrid-downloader/resources/extractor-jvm
Sucukdeluxe 1fde0a9951 Fix hybrid-extract multi-part archive + extractor CRC handling
- findReadyArchiveSets: for .part1.rar, require ALL package items
  to be terminal before allowing extraction (prevents premature
  extraction when later parts have no targetPath/fileName yet)
- JVM extractor: remove CRCERROR from isPasswordFailure() — only
  DATAERROR indicates wrong password. CRCERROR on archives where
  7z-JBinding falsely reports encrypted no longer triggers password
  cycling.
- looksLikeWrongPassword: remove CRC text matching, keep only
  explicit "data error" for encrypted archives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:52:00 +01:00
..
classes/com/sucukdeluxe/extractor Fix hybrid-extract multi-part archive + extractor CRC handling 2026-03-03 14:52:00 +01:00
lib Replace extraction backend with SevenZipJBinding + Zip4j JVM sidecar 2026-03-03 02:08:42 +01:00
src/com/sucukdeluxe/extractor Fix hybrid-extract multi-part archive + extractor CRC handling 2026-03-03 14:52:00 +01:00
README.md Replace extraction backend with SevenZipJBinding + Zip4j JVM sidecar 2026-03-03 02:08:42 +01:00
THIRD_PARTY_NOTICES.txt Replace extraction backend with SevenZipJBinding + Zip4j JVM sidecar 2026-03-03 02:08:42 +01:00

JVM extractor runtime

This directory contains the Java sidecar runtime used by src/main/extractor.ts.

Included backends

  • sevenzipjbinding for the primary extraction path (RAR/7z/ZIP and others)
  • zip4j for ZIP multipart handling (JD-style split ZIP behavior)

Layout

  • classes/ compiled JBindExtractorMain classes
  • lib/ runtime jars required by the sidecar
  • src/ Java source for the sidecar

Rebuild notes

The checked-in classes are Java 8 compatible and built from:

resources/extractor-jvm/src/com/sucukdeluxe/extractor/JBindExtractorMain.java

If you need to rebuild, compile against the jars in lib/ with a Java 8-compatible compiler.