64 bit version from HEAD

Any questions? Need some help?
Post Reply
kevin2016
Posts: 4
Joined: 28 Nov 2016, 04:19

64 bit version from HEAD

Post by kevin2016 »

I was trying to get the list tab working, which I gather has been mended in the HEAD releases. I am using 64 bit Filebot, and 64 bit Java. The HEAD version appears to want the 32 bit Java(?), or am I barking up the wrong tree?

C:\Program Files\FileBot>filebot.exe
null
java.lang.ExceptionInInitializerError
at net.filebot.win.Shell32.<clinit>(Shell32.java:12)
at net.filebot.win.WinAppUtilities.setAppUserModelID(WinAppUtilities.java:15)
at net.filebot.Main.startUserInterface(Main.java:230)
at net.filebot.Main.lambda$main$1(Main.java:126)
Caused by: java.lang.IllegalArgumentException: Invalid sizeof type 4
at com.sun.jna.Native.sizeof(Native Method)
at com.sun.jna.Native.<clinit>(Native.java:161)
... 4 more
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: 64 bit version from HEAD

Post by rednoah »

Please run filebot -script fn:sysinfo and post the output.

:idea: Shell32 is just a windows term. It doesn't really mean 32-bit anymore, though it is a term from that time.
:idea: Please read the FAQ and How to Request Help.
kevin2016
Posts: 4
Joined: 28 Nov 2016, 04:19

Re: 64 bit version from HEAD

Post by kevin2016 »

Many thanks.

Original jar sysinfo output:

Code: Select all

FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 1 GB Max Memory / 69 MB Used Memory
OS: Windows 7 (amd64)
Package: MSI
Data: C:\Users\kevin\AppData\Roaming\FileBot
Output from sysinfo with new jar from Feb 07:

Code: Select all

FileBot 4.7.7 (r4762)
JNA Native: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.8
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 1 GB Max Memory / 34 MB Used Memory
OS: Windows 7 (amd64)
Package: MSI
Data: C:\Users\kevin\AppData\Roaming\FileBot
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: 64 bit version from HEAD

Post by rednoah »

The latest jar may not be compatible with the latest stable release. It is however guaranteed to be compatible with the latest beta release (e.g. FileBot_4.7.8_B3).
:idea: Please read the FAQ and How to Request Help.
kevin2016
Posts: 4
Joined: 28 Nov 2016, 04:19

Re: 64 bit version from HEAD

Post by kevin2016 »

Hi, thanks for the attention. I fixed it by downloading

filebot/lib/native/win32-x64/jnidispatch.dll

and

filebot/lib/native/win32-x64/MediaInfo.dll

I misunderstood your instructions:

"In between major releases I upload quite a lot of test builds and usually a series of RC releases before making a final release. The test builds are only upload as jar bundle and you can update just by replacing the jar in your existing install. The RC releases come with packages for the various platforms. The latest jar is generally only compatible with the latest major release or RC."

And thought I only had to replace the jar.

Thanks again.
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: 64 bit version from HEAD

Post by rednoah »

That is generally correct, unless I update something other than the jar that introduces some sort of incompatibility.
:idea: Please read the FAQ and How to Request Help.
Post Reply