7z-JBinding binaries for Embedded (Synology, QNAP, etc)

All your suggestions, requests and ideas for future development
Post Reply
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by rednoah »

7z-JBinding binaries for Embedded Linux, i.e. Synology NAS, QNAP NAS, etc

There's lots of people with Synology NAS, QNAP NAS and other embedded Linux devices. As you've probably noticed 7zip is not supported cause there's no pre-compiled 7zip-JBindings for ARM.

How about supporting the author Boris Brodsky with a donation? Here's the project page for 7zip-JBindings, so feel free to donate and request support for your platform:
http://sevenzipjbind.sourceforge.net/


If 7zip-JBindings would support ARM as well, that'd be great for all the Synology/QNAP FileBot users and of course any other project that uses 7zip-JBindings and wants to support ARM platforms. ;)
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: 7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by rednoah »

Here's something you can test with for now. May or may not work.


Support for -extract on ARM:



1. You could try to download the lib7-Zip-JBinding.so for ARM from here and see if it works:
http://sourceforge.net/p/filebot/code/1 ... linux-arm/

2. If it doesn't maybe you also need the r1921 jar.

How to test?
* Just copy lib7-Zip-JBinding.so into your filebot folder, and copy-override the jar with the r1921 jar.
* Then try extracting archives from the cmdline and see what happens.

e.g.

Code: Select all

filebot -extract "archive.rar" --output path/to/folder
Please send me all the logs you get. ;)
:idea: Please read the FAQ and How to Request Help.
Chryses
Posts: 66
Joined: 26 Aug 2012, 19:11

Re: 7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by Chryses »

rednoah wrote:Here's something you can test with for now. May or may not work.


Support for -extract on ARM:

1. You could try to download the lib7-Zip-JBinding.so for ARM from here and see if it works:
http://sourceforge.net/p/filebot/code/H ... linux-arm/

2. If it doesn't maybe you also need the r1921 jar.

How to test?
* Just copy lib7-Zip-JBinding.so into your filebot folder, and copy-override the jar with the r1921 jar.
* Then try extracting archives from the cmdline and see what happens.

e.g.

Code: Select all

filebot -extract "archive.rar" --output path/to/folder
Please send me all the logs you get. ;)
Hi, Sorry if I resume this oooold thread, but I can't find the lib7-Zip-JBinding.so anymore. Some time ago I downloaded this version for an armv5 system and works like a charm for jd2. Do you still have it?

Tnx, J
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: 7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by rednoah »

It crashes things on ARMv6/7 so I removed it. Nobody ever confirmed that it works.

Older revisions are all checked into SVN:
http://sourceforge.net/p/filebot/code/1 ... linux-arm/
:idea: Please read the FAQ and How to Request Help.
Chryses
Posts: 66
Joined: 26 Aug 2012, 19:11

Re: 7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by Chryses »

Perfect tnx!

This version, injected on sevenzipjbindingLinux.jar, for jd2, works like a charm on armv5
jacaru
Posts: 1
Joined: 28 Feb 2015, 02:31

Re: 7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by jacaru »

I have extraction running fine on Raspberry Pi 2.

Basically I obtained the binding and jar library from jdownloader 2:

1. Download jdownloader2 and install on desktop
2. Copy jdownloader.jar from desktop installation to arm device
3. On arm device, run 'java -Djava.awt.headless=true -jar JDownloader.jar'. It will update itself.
4. Within ./libs/sevenzipjbindingLinux.jar, you have the .so file (there are arm and armpi builds, I used armpi)
5. And ./libs/sevenzipjbindings.jar is the java library

I can suggest you get in touch with jdownloader2 dev, see how he got around it.

BR
nicholasalipaz
Posts: 1
Joined: 19 May 2015, 23:56

Re: 7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by nicholasalipaz »

On raspberry pi2 this is how I accomplished the suggestion by jacaru above. I am using the jar file from under the 'Other' heading at http://jdownloader.org/download/offline

  1. Code: Select all

    mkdir /tmp/jd2
  2. Code: Select all

    cd /tmp/jd2
  3. Code: Select all

    wget http://installer.jdownloader.org/JDownloader.jar
  4. Code: Select all

    sudo java -Djava.awt.headless=true -jar JDownloader.jar
  5. Code: Select all

    cd libs/
  6. Code: Select all

    sudo jar xf sevenzipjbindingLinuxArmVersion.jar
  7. Code: Select all

    sudo cp Linux-armpi/lib7-Zip-JBinding.so /usr/share/filebot/
  8. Code: Select all

    filebot -script "fn:sysinfo" |grep 7-Zip
Output oof the sysinfo!

Code: Select all

7-Zip-JBinding: OK
marine88
Posts: 15
Joined: 24 Nov 2014, 13:05

Re: 7z-JBinding binaries for Embedded (Synology, QNAP, etc)

Post by marine88 »

any help in arm v5 version im using a readynas duo v2 and i would like filebot working here! thank you
Post Reply