Java Error When Renaming Files

Support for Windows users
Post Reply
wwwKris
Posts: 2
Joined: 14 Feb 2017, 14:08

Java Error When Renaming Files

Post by wwwKris »

I'm using FileBot 4.7.7 on Windows 10 x64. When I click the "Rename" button, I get an error that says: "NoClassDefFoundError: Could not initialize class com.sun.jna.Native."

Can anyone give me some pointers on how to fix that? If it makes any difference, this is a new install and I have Java 8 update 121 installed.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Java Error When Renaming Files

Post by rednoah »

Please purchase FileBot on the Windows Store.
:idea: Please read the FAQ and How to Request Help.
wwwKris
Posts: 2
Joined: 14 Feb 2017, 14:08

Re: Java Error When Renaming Files

Post by wwwKris »

Thank you for the reply rednoah. I downloaded FileBot from SourceForge at: https://sourceforge.net/projects/filebo ... ot/LATEST/. Does that one not support Windows 10?
carloslozada
Posts: 14
Joined: 12 Jun 2016, 11:06

Re: Java Error When Renaming Files

Post by carloslozada »

Hi @rednoah I got this Error as well. I've purchased the version on mac but i'm actually using more the windows version. would you be able to make an exeption?.
Sorry for the inconvenience
here's the error that i got on windows 10
Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/C:/Program%20Files/FileBot/FileBot.jar])
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/C:/Program%20Files/FileBot/FileBot.jar])
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:921)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:881)
at com.sun.jna.Native.<clinit>(Native.java:156)
at com.sun.jna.platform.win32.Shell32.<clinit>(Shell32.java:45)
at net.filebot.win.WinAppUtilities.setAppUserModelID(WinAppUtilities.java:16)
at net.filebot.Main.startUserInterface(Main.java:225)
at net.filebot.Main.lambda$main$1(Main.java:126)
carloslozada
Posts: 14
Joined: 12 Jun 2016, 11:06

Re: Java Error When Renaming Files

Post by carloslozada »

Forgot to mentioned, this happened just after the update. I tried to uninstall and reinstall it including Java but still the problem on.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Java Error When Renaming Files

Post by rednoah »

First of all, thanks for purchasing FileBot on the Mac App Store.

Unfortunately, transferring a Mac App Store license to the Windows Store is not possible. It'd be nice, but I don't think Apple and Microsoft will ever cooperate in this regard.
:idea: Please read the FAQ and How to Request Help.
carloslozada
Posts: 14
Joined: 12 Jun 2016, 11:06

Re: Java Error When Renaming Files

Post by carloslozada »

rednoah wrote:First of all, thanks for purchasing FileBot on the Mac App Store.

Unfortunately, transferring a Mac App Store license to the Windows Store is not possible. It'd be nice, but I don't think Apple and Microsoft will ever cooperate in this regard.
:lol: I'm Totally agree with you. I'm just saying, could be possible a guide how to fix the issue that I got?. This just happened just after the latest update and unfortunately doesn't solve the problem uninstalling and reinstalling either JAVA :)

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

Re: Java Error When Renaming Files

Post by rednoah »

You probably installed 32-bit Java instead of 64-bit Java. See FAQ for details.
:idea: Please read the FAQ and How to Request Help.
carloslozada
Posts: 14
Joined: 12 Jun 2016, 11:06

Re: Java Error When Renaming Files

Post by carloslozada »

rednoah wrote:You probably installed 32-bit Java instead of 64-bit Java. See FAQ for details.
:ugeek: Thanks! That was it.
carloslozada
Posts: 14
Joined: 12 Jun 2016, 11:06

Re: Java Error When Renaming Files

Post by carloslozada »

Sorry to bother you again but now i got this other issue
filebot : Failed to set xattr: I:\Filebot\Movies\Infini (2015)\Infini
(2015).mkv:net.filebot.metadata

Your help is really appreciated.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Java Error When Renaming Files

Post by rednoah »

That warning means that your filesystem doesn't support xattr:
viewtopic.php?t=324

xattr are supported by NTFS and some SMB services (if configured to support xattr).
:idea: Please read the FAQ and How to Request Help.
MyPlace
Posts: 1
Joined: 16 Mar 2017, 10:42

Re: Java Error When Renaming Files

Post by MyPlace »

Hi,
It's great that you are good at making new version of this incredible delicious program.
But in choosing to future versions can only run on a Windows 10 is not ok.

I and many other user has chosen not to upgrade to Windows 10. Since it is not good enough.

I have no problem in paying for your program. Just it can work on my Windows 7 (x64)

// MyPlace
Post Reply