real-debrid-downloader/resources/extractor-jvm
Sucukdeluxe fa30e738d9
Some checks are pending
Build and Release / build (push) Waiting to run
Fix UNSUPPORTEDMETHOD: init SevenZipJBinding native libs, pass password to extractSlow
Root cause: SevenZip.initSevenZipFromPlatformJAR() was never called, so
native compression codecs (RAR5, LZMA2, etc.) were not loaded. Archives
could be opened (header parsing is pure Java) but all extractSlow() calls
returned UNSUPPORTEDMETHOD because no native decoder was available.

- Add ensureSevenZipInitialized() with lazy init before extraction
- Pass password to extractSlow(outStream, password) for RAR5 compatibility
- Add UNSUPPORTEDMETHOD -> legacy fallback in extractor.ts as safety net

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 02:35:19 +01:00
..
classes/com/sucukdeluxe/extractor Fix UNSUPPORTEDMETHOD: init SevenZipJBinding native libs, pass password to extractSlow 2026-03-03 02:35:19 +01:00
lib Replace extraction backend with SevenZipJBinding + Zip4j JVM sidecar 2026-03-03 02:08:42 +01:00
src/com/sucukdeluxe/extractor Fix UNSUPPORTEDMETHOD: init SevenZipJBinding native libs, pass password to extractSlow 2026-03-03 02:35:19 +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.