Failed to load 7z-JBinding: Can't load AMD 64-bit .dll ...

Any questions? Need some help?
Post Reply
ramsundaram
Posts: 24
Joined: 13 Oct 2012, 18:32

Failed to load 7z-JBinding: Can't load AMD 64-bit .dll ...

Post by ramsundaram »

My utorrent filebot integration works pretty well for single file torrents, but not for multi-file RARs. The error I get in the logs is:

Code: Select all

SevenZipNativeInitializationException: Failed to load 7z-JBinding: C:\Program Files\Filebot\7-Zip-JBinding.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
Done ?(?????)?
I tried downloading the 32-bit lib7-Zip-JBinding.dll and replacing the one shipped with FileBot, but that didn't work either.

filebot -script fn:sysinfo

Code: Select all

FileBot 3.0 (r1207)
MediaInfo: MediaInfoLib - v0.7.48
7-Zip-JBinding: OK
Java(TM) SE Runtime Environment 1.7.0_04
64-bit Java HotSpot(TM) 64-Bit Server VM
Windows 7 (amd64)
Done ?(?????)?
Any ideas?

Ram
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to load 7z-JBinding: Can't load AMD 64-bit .dll .

Post by rednoah »

Well if you run sysinfo in the console it seems to work. The other log was from a console spawned by uTorrent I assume? Could it be that in this case it's invoking a 32-bit JVM? Do you have 32-bit Java installed also?
:idea: Please read the FAQ and How to Request Help.
ramsundaram
Posts: 24
Joined: 13 Oct 2012, 18:32

Re: Failed to load 7z-JBinding: Can't load AMD 64-bit .dll .

Post by ramsundaram »

rednoah wrote:Well if you run sysinfo in the console it seems to work. The other log was from a console spawned by uTorrent I assume? Could it be that in this case it's invoking a 32-bit JVM? Do you have 32-bit Java installed also?
Yes, the first error was from uTorrent-spawned console logged to a file. The second was Win 7 command line.

I don't know how to check if I have both JVMs. My Win 7 "Programs and Features" list has the following:
- Java SE Development Kit 7 Update 4 (64-bit)
- Java(TM) 6 Update 31 (64-bit)
- Java(TM) 6 Update 35
- Java(TM) 7 Update 4 (64-bit)
- JavaFX 2.1.0 (64-bit)
- JavaFX 2.1.0 SDK (64-bit)

Is the Update 35 (the only one that doesn't say 64-bit) a 32-bit JVM?

Ram
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to load 7z-JBinding: Can't load AMD 64-bit .dll .

Post by rednoah »

This looks complicated, my guess it if called from Torrents it defaults to the Java(TM) 6 Update 35 which is probably 32-bit since it doesn't say otherwise.

Just uninstall everything and then just get the latest 64-bit Java 7.
:idea: Please read the FAQ and How to Request Help.
ramsundaram
Posts: 24
Joined: 13 Oct 2012, 18:32

Re: Failed to load 7z-JBinding: Can't load AMD 64-bit .dll .

Post by ramsundaram »

rednoah wrote:Just uninstall everything and then just get the latest 64-bit Java 7.
OK. I did that. I have now only the following line in the Programs & Features list.

- Java 7 Update 9 (64-bit)

Running filebot -script fn:sysinfo gives me

Code: Select all

FileBot 3.0 (r1207)
MediaInfo: MediaInfoLib - v0.7.48
7-Zip-JBinding: OK
Java(TM) SE Runtime Environment 1.7.0_09
64-bit Java HotSpot(TM) 64-Bit Server VM
Windows 7 (amd64)
Done ?(?????)?
But it still does not work. The utorrent-spawned console log just shows this:

Code: Select all

'java' is not recognized as an internal or external command,
operable program or batch file.
So utorrent is incapable of calling the 64-bit java?

Confused,
Ram
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to load 7z-JBinding: Can't load AMD 64-bit .dll .

Post by rednoah »

Make sure uTorrent / filebot.cmd can find the java.exe, so make sure it's in the PATH. There might be two PATH variables for 32/64-bit so make sure it's in both PATH variables.
:idea: Please read the FAQ and How to Request Help.
Post Reply