[BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

All your suggestions, requests and ideas for future development
Post Reply
j1simon
Posts: 24
Joined: 10 Nov 2015, 10:52

[BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by j1simon »

Code: Select all

$ filebot -version 
FileBot 4.7.1 (r4126) / OpenJDK Runtime Environment 1.8.0_92
Arch Linux 64 bits

When I execute Filebot it shows these errors:

Code: Select all

$ ./filebot.sh
Failed to initialize JavaFX
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
	at net.filebot.util.ui.SwingUI.initJavaFX(SwingUI.java:423)
	at net.filebot.Main.main(Main.java:148)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
	... 2 more
javafx/concurrent/Worker
java.lang.NoClassDefFoundError: javafx/concurrent/Worker
	at net.filebot.ui.rename.RenameAction.lambda$actionPerformed$1(RenameAction.java:99)
	at net.filebot.util.ui.SwingUI.withWaitCursor(SwingUI.java:289)
	at net.filebot.ui.rename.RenameAction.actionPerformed(RenameAction.java:78)
Caused by: java.lang.ClassNotFoundException: javafx.concurrent.Worker
	... 3 more
It works until I press "Rename" button when Filebot shows an error and it does nothing.
DanSaba
Posts: 2
Joined: 02 Aug 2016, 02:49

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by DanSaba »

Same issue here.

Code: Select all

FileBot 4.7.1 (r4126) / OpenJDK Runtime Environment 1.8.0_91
When I try to rename a file:

Code: Select all

Failed to initialize JavaFX
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
	at net.filebot.util.ui.SwingUI.initJavaFX(SwingUI.java:423)
	at net.filebot.Main.main(Main.java:148)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
	... 2 more
javafx/concurrent/Worker
java.lang.NoClassDefFoundError: javafx/concurrent/Worker
	at net.filebot.ui.rename.RenameAction.lambda$actionPerformed$1(RenameAction.java:99)
	at net.filebot.util.ui.SwingUI.withWaitCursor(SwingUI.java:289)
	at net.filebot.ui.rename.RenameAction.actionPerformed(RenameAction.java:78)
Caused by: java.lang.ClassNotFoundException: javafx.concurrent.Worker
	... 3 more
DanSaba
Posts: 2
Joined: 02 Aug 2016, 02:49

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by DanSaba »

The issue is fixed by installing openjfx in Ubuntu. This should be a dependency during installation or embedded in the executable.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

JavaFX has been a required dependency for the last few versions. Oracle Java should include everything you need.

If you use the OpenJDK package from the package repository of your preferred Linux distro than that may or may not include the OpenJFX parts. On Ubuntu there's a separate package AFAIK.
:idea: Please read the FAQ and How to Request Help.
j1simon
Posts: 24
Joined: 10 Nov 2015, 10:52

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by j1simon »

Thanks. The problem is the lack of dependency of openjfx in AUR package.
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by Andre-K »

just had same issue, cryptic error - thanks to this thread , resolved.
please add dependency. (openjfx)
ChuckPa
Posts: 14
Joined: 04 Apr 2016, 17:28

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by ChuckPa »

I am unable to resolve this and request help.

Fedora 24, FileBot 4.7.2. Backing down to 4.7 and all is fine.

I've looked for any package with name 'aur' but fine none.

Would someone be kind enough to point me in the right direction?

The specific error popup I get is "javafx/concurrent/Task" as I attempt to perform the Rename.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

You need to install JavaFX. On Ubuntu it's just a matter of installing the openjfx package.

I recommend using the Oracle JDK which includes JavaFX:
http://www.oracle.com/technetwork/java/ ... index.html
:idea: Please read the FAQ and How to Request Help.
ChuckPa
Posts: 14
Joined: 04 Apr 2016, 17:28

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by ChuckPa »

Double check me on this please? Don't want to screw up the machine (I have other active development going on ) Java SE Development Kit 8u102 - file: jdk-8u102-linux-x64.rpm
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

I'm not using Fedora. I think they use RPM packages so you should be fine. Java is very stable and backwards compatible so it's unlikely that you'll run into trouble with other programs that depend on Java.
:idea: Please read the FAQ and How to Request Help.
ChuckPa
Posts: 14
Joined: 04 Apr 2016, 17:28

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by ChuckPa »

I installed the JRE first with no joy.
Then added the JDK. Again, no joy.

I grabbed the error log and ask you if you can help me figure out "wth" is not being found? It looks like it can't find the FX . Where should it be? /lib? /lib64?

Code: Select all

Oct 12, 2016 1:17:43 PM net.filebot.Main main
WARNING: Failed to initialize JavaFX
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
	at net.filebot.util.ui.SwingUI.initJavaFX(SwingUI.java:427)
	at net.filebot.Main.main(Main.java:147)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
	... 2 more

Oct 12, 2016 1:19:11 PM net.filebot.Cache computeIf
WARNING: Cache computeIf: url.query-blacklist => net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: C62238FA
Oct 12, 2016 1:19:11 PM net.filebot.Cache put
WARNING: Cache put: url.query-blacklist => net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: C62238FA
Oct 12, 2016 1:20:15 PM net.filebot.Cache computeIf
WARNING: Cache computeIf: search/movie?query=mmg => net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Oct 12, 2016 1:20:15 PM net.filebot.Cache get
WARNING: Cache get: search/movie?query=mmg => net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Oct 12, 2016 1:20:15 PM net.filebot.Cache put
WARNING: Cache put: search/movie?query=mmg => net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Oct 12, 2016 1:20:15 PM net.filebot.Cache put
WARNING: Cache put: search/movie?query=mmg => net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000
Oct 12, 2016 1:20:22 PM net.filebot.ui.rename.RenameAction actionPerformed
WARNING: javafx/concurrent/Worker
java.lang.NoClassDefFoundError: javafx/concurrent/Worker
	at net.filebot.ui.rename.RenameAction.lambda$actionPerformed$1(RenameAction.java:99)
	at net.filebot.util.ui.SwingUI.withWaitCursor(SwingUI.java:289)
	at net.filebot.ui.rename.RenameAction.actionPerformed(RenameAction.java:78)
Caused by: java.lang.ClassNotFoundException: javafx.concurrent.Worker
	... 3 more

Oct 12, 2016 1:23:27 PM net.filebot.Main main
WARNING: Failed to initialize JavaFX
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
	at net.filebot.util.ui.SwingUI.initJavaFX(SwingUI.java:427)
	at net.filebot.Main.main(Main.java:147)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
	... 2 more

Oct 12, 2016 1:23:55 PM net.filebot.ui.rename.RenameAction actionPerformed
WARNING: javafx/concurrent/Task
java.lang.NoClassDefFoundError: javafx/concurrent/Task
	at net.filebot.ui.rename.RenameAction.lambda$actionPerformed$1(RenameAction.java:99)
	at net.filebot.util.ui.SwingUI.withWaitCursor(SwingUI.java:289)
	at net.filebot.ui.rename.RenameAction.actionPerformed(RenameAction.java:78)
Caused by: java.lang.ClassNotFoundException: javafx.concurrent.Task
	... 3 more

Oct 12, 2016 1:24:10 PM net.filebot.ui.rename.RenameAction actionPerformed
WARNING: javafx/concurrent/Task
java.lang.NoClassDefFoundError: javafx/concurrent/Task
	at net.filebot.ui.rename.RenameAction.lambda$actionPerformed$1(RenameAction.java:99)
	at net.filebot.util.ui.SwingUI.withWaitCursor(SwingUI.java:289)
	at net.filebot.ui.rename.RenameAction.actionPerformed(RenameAction.java:78)
Caused by: java.lang.ClassNotFoundException: javafx.concurrent.Task
	... 3 more

[chuck@lizum chuck.59]$
Thanks
C
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

So I downloaded the RPM and check what's inside. The JavaFX libraries definitely are.

Are you 100% sure that you are using Oracle Java? What does filebot -script fn:sysinfo say? I'm pretty sure you're still using the Fedora OpenJDK.
:idea: Please read the FAQ and How to Request Help.
ChuckPa
Posts: 14
Joined: 04 Apr 2016, 17:28

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by ChuckPa »

Here is the console output from both versions I have. 4.6.1 (displays as 4.7) runs ok and 4.7.2 which has the Worker exception.

Code: Select all

[chuck@lizum filebot.d.56]$ filebot.sh -script fn:sysinfo
FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.88
Apache Commons VFS: [zip, ftps, rar, ftp, tar, tgz, tbz2, sftp]
Chromaprint: fpcalc version 1.1.0 (fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: OpenJDK Runtime Environment 1.8.0_102
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 30 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
Data: /usr/local/bin/filebot.d/data/chuck
uname: Linux lizum 4.7.6-200.fc24.x86_64 #1 SMP Mon Oct 3 20:10:24 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

--- UPDATE AVAILABLE: FileBot 4.7.2 (r4178) ---

Done ヾ(@⌒ー⌒@)ノ

[chuck@lizum filebot.d.57]$ cd ../filebot_4.7.2/
[chuck@lizum filebot_4.7.2.58]$ filebot.sh -script fn:sysinfo
FileBot 4.7.2 (r4178)
JNA Native: 4.0.1
MediaInfo: 0.7.88
Apache Commons VFS: [zip, rar]
Chromaprint: 1.1.0
Extended Attributes: OK
GVFS: OK
Script Bundle: 2016-10-08 (r408)
Groovy: 2.4.7
JRE: OpenJDK Runtime Environment 1.8.0_102
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 35 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
Data: /usr/local/bin/filebot_4.7.2/data/chuck
uname: Linux lizum 4.7.6-200.fc24.x86_64 #1 SMP Mon Oct 3 20:10:24 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ

[chuck@lizum filebot_4.7.2.59]$
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

You are using OpenJDK:

Code: Select all

OpenJDK Runtime Environment 1.8.0_102
You should be using Oracle JDK:

Code: Select all

Java(TM) SE Runtime Environment 1.8.0_102

1. Uninstall OpenJDK
1.1. Run java -version to confirm that it says "java: command not found"

2. Install Oracle JDK
2.2. Run java -version to confirm that you are in fact running Oracle JDK
:idea: Please read the FAQ and How to Request Help.
ChuckPa
Posts: 14
Joined: 04 Apr 2016, 17:28

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by ChuckPa »

It seems Fedora was 'generous' in their installations. I did some digging with the package manager directly and found two versions in there. Both removed plus the incorrect Oracle installation.

If you're interested for other references, Here is my console log. Note Fedora has a /bin/java left after package removal. I abandoned in place.

Only tool lost at this point is 'fpcalc' which I'll put back in when I need it.

Thanks very much. I'm not a Java guy. I'm the C/assembly/kernel-firmware guy ;)

Chuck

Code: Select all

[chuck@lizum ~]# rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.102-1.b14.fc24.x86_64 java-1.8.0-openjdk-1.8.0.102-1.b14.fc24.x86_64 jdk1.8.0_102-1.8.0_102-fcs.x86_64
[chuck@lizum ~]# java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
[chuck@lizum ~]# which java
/bin/java
[chuck@lizum ~]# rpm -qa | grep -i java
javapackages-tools-4.6.0-14.fc24.noarch
python3-javapackages-4.6.0-14.fc24.noarch
devassistant-dap-java-0.11.1-3.fc24.noarch
abrt-java-connector-1.1.0-8.fc24.x86_64
tzdata-java-2016g-1.fc24.noarch
[chuck@lizum ~]# cd /bin
[chuck@lizum /bin]# mv java java-fedora


SE, as downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

[chuck@lizum ~chuck/Downloads]# dnf install jdk-8u101-linux-x64.rpm 
Last metadata expiration check: 0:49:44 ago on Wed Oct 12 14:33:07 2016.
Dependencies resolved.
===================================================================================================================================
 Package                        Arch                     Version                              Repository                      Size
===================================================================================================================================
Installing:
 jdk1.8.0_101                   x86_64                   2000:1.8.0_101-fcs                   @commandline                   158 M

Transaction Summary
===================================================================================================================================
Install  1 Package

Total size: 158 M
Installed size: 258 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : jdk1.8.0_101-2000:1.8.0_101-fcs.x86_64                                                                         1/1 
Unpacking JAR files...
	tools.jar...
	plugin.jar...
	javaws.jar...
	deploy.jar...
	rt.jar...
	jsse.jar...
	charsets.jar...
	localedata.jar...
  Verifying   : jdk1.8.0_101-2000:1.8.0_101-fcs.x86_64                                                                         1/1 

Installed:
  jdk1.8.0_101.x86_64 2000:1.8.0_101-fcs                                                                                           

Complete!
[chuck@lizum ~chuck/Downloads]# java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
[chuck@lizum ~chuck/Downloads]# 


And, after taking the long way around.. ( ha ha )
[chuck@lizum ~chuck/Downloads]# java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
[chuck@lizum ~chuck/Downloads]# cd /usr/local/bin/filebot_
filebot_4.7.2/ filebot_good/  
[chuck@lizum ~chuck/Downloads]# cd /usr/local/bin/filebot_4.7.2/
[chuck@lizum filebot_4.7.2]# filebot.sh -script fn:sysinfo
filebot.sh: Command not found.
[chuck@lizum filebot_4.7.2]# ./filebot.sh -script fn:sysinfo
FileBot 4.7.2 (r4178)
JNA Native: 4.0.1
MediaInfo: 0.7.88
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
GVFS: OK
Script Bundle: 2016-10-08 (r408)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_102
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 14 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
Data: /usr/local/bin/filebot_4.7.2/data/chuck
uname: Linux lizum 4.7.6-200.fc24.x86_64 #1 SMP Mon Oct 3 20:10:24 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ

[chuck@lizum filebot_4.7.2]#
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

There should also be some commands like `which` that allow you to select which `java` command you want to use by default... but not sure how to do that on Fedora though.

ChuckPa wrote:I'm the assembly/kernel-firmware guy
Image
:idea: Please read the FAQ and How to Request Help.
ChuckPa
Posts: 14
Joined: 04 Apr 2016, 17:28

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by ChuckPa »

`which` lets you see which one was found in $PATH. It's also how I found where the sucker was located (/bin) when i should have gotten a 'command not found' after removing the packages.

Fedora is like any other linux except it's the Redhat flavor and part of that 'front-end rapid development cycle'

Either way, all is good. I will have to keep my eyes on them more as this move forward.. and, i'll have to update java manually. ugh
gct
Posts: 2
Joined: 29 Mar 2020, 17:33

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by gct »

This isn't working for me either, I'm trying to do a one off rename of some cartoons for my daughter, and it's niche enough I need the GUI to adjust some of the renames. When I get it all setup and click "rename" I get:

Code: Select all

MOVE: ClassNotFoundException: javafx.concurrent.Task
No matter what I do. I tried installing openjfx, I purged openJDK from my system and went through the hassle of installing Oracle Java, etc. Nothing, here's my sysinfo:

Code: Select all

FileBot 4.9.0 (r7234)
JNA Native: 6.1.0
MediaInfo: 19.09
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-03-16 (r625)
Groovy: 3.0.2
JRE: Java(TM) SE Runtime Environment 14
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 24 Core / 8 GB Max Memory / 123 MB Used Memory
OS: Linux (amd64)
HW: Linux desktop 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
STORAGE: ext4 [/] @ 288 GB | nfs4 [/data] @ 85 GB | nfs4 [/data/media] @ 3.3 TB
Package: TAR
License: FileBot License P10379869 (Valid-Until: 2020-11-30)
Done ヾ(@⌒ー⌒@)ノ
Running on Linux Mint 19.1 right now.

Any ideas? Given that I'm paying for this, this should really be more a more polished experience
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

rednoah wrote: 13 Jul 2018, 12:00 The installer/deb.sh will add the repository and install FileBot for you:

Code: Select all

bash -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/deb.sh)"
What does the console output say when you run this script?
https://www.filebot.net/linux/apt.html
:idea: Please read the FAQ and How to Request Help.
gct
Posts: 2
Joined: 29 Mar 2020, 17:33

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by gct »

Here's the output of running that:

Code: Select all

+ uname -a
Linux desktop 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
+ apt-cache show openjfx --no-all-versions
+ grep 'Version: 8'
+ REPO='deb [arch=all] https://get.filebot.net/deb/ universal main'
+ echo 'Use Repository: deb [arch=all] https://get.filebot.net/deb/ [url][/url]universal main'
Use Repository: deb [arch=all] https://get.filebot.net/deb/ universal main
+ sudo apt-get install --install-recommends -y dirmngr gnupg-curl apt-transport-https
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gnupg-curl
+ sudo apt-key adv --fetch-keys https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub
Executing: /tmp/apt-key-gpghome.gzjMO2Sje1/gpg.1.sh --fetch-keys https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub
gpg: requesting key from 'https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub'
gpg: key 4E402EBF7C3C6A71: 4 signatures not checked due to missing keys
gpg: key 4E402EBF7C3C6A71: public key "Reinhard Pointner <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
+ echo 'deb [arch=all] https://get.filebot.net/deb/ universal main'
+ sudo tee /etc/apt/sources.list.d/filebot.list
deb [arch=all] https://get.filebot.net/deb/ universal main
+ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
Ign:2 http://packages.linuxmint.com tessa InRelease                            
Hit:3 http://packages.linuxmint.com tessa Release                              
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:5 https://download.virtualbox.org/virtualbox/debian bionic InRelease       
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease                   
Ign:7 https://get.filebot.net/deb universal InRelease                          
Get:9 https://get.filebot.net/deb universal Release [1,160 B]                  
Hit:10 http://ppa.launchpad.net/atareao/atareao/ubuntu bionic InRelease        
Hit:11 http://archive.canonical.com/ubuntu bionic InRelease                    
Ign:12 http://dl.google.com/linux/earth/deb stable InRelease                   
Hit:13 http://archive.ubuntu.com/ubuntu bionic InRelease                       
Hit:14 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release     
Get:15 https://get.filebot.net/deb universal Release.gpg [862 B]               
Hit:16 http://dl.google.com/linux/chrome/deb stable Release                    
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]     
Hit:18 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Hit:19 http://dl.google.com/linux/earth/deb stable Release                     
Hit:20 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu bionic InRelease    
Get:22 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]   
Hit:24 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease   
Get:25 https://get.filebot.net/deb universal/main all Packages [552 B]         
Hit:27 http://ppa.launchpad.net/kelleyk/emacs/ubuntu bionic InRelease          
Hit:28 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease     
Hit:29 http://ppa.launchpad.net/peek-developers/stable/ubuntu bionic InRelease 
Hit:30 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease       
Hit:31 http://ppa.launchpad.net/yubico/stable/ubuntu bionic InRelease          
Fetched 255 kB in 2s (106 kB/s)                    
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
+ sudo apt-get install --install-recommends -y filebot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libchromaprint-tools libjna-java libjna-jni libmediainfo0v5 libtinyxml2-6
  libzen0v5 mediainfo
Suggested packages:
  libjna-java-doc mediainfo-gui
The following NEW packages will be installed:
  filebot libchromaprint-tools libjna-java libjna-jni libmediainfo0v5
  libtinyxml2-6 libzen0v5 mediainfo
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.6 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libchromaprint-tools amd64 1.4.3-1 [14.2 kB]
Get:2 https://get.filebot.net/deb universal/main all filebot all 4.9.0 [26.3 MB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libjna-jni amd64 4.5.1-1 [30.6 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libjna-java all 4.5.1-1 [161 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtinyxml2-6 amd64 6.0.0+dfsg-1 [27.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libzen0v5 amd64 0.4.37-1 [94.0 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libmediainfo0v5 amd64 17.12-1ubuntu0.1 [1,865 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mediainfo amd64 17.12-1 [29.5 kB]
Fetched 28.6 MB in 2s (18.6 MB/s)                                    
Selecting previously unselected package libchromaprint-tools.
(Reading database ... 364039 files and directories currently installed.)
Preparing to unpack .../0-libchromaprint-tools_1.4.3-1_amd64.deb ...
Unpacking libchromaprint-tools (1.4.3-1) ...
Selecting previously unselected package libjna-jni.
Preparing to unpack .../1-libjna-jni_4.5.1-1_amd64.deb ...
Unpacking libjna-jni (4.5.1-1) ...
Selecting previously unselected package libjna-java.
Preparing to unpack .../2-libjna-java_4.5.1-1_all.deb ...
Unpacking libjna-java (4.5.1-1) ...
Selecting previously unselected package libtinyxml2-6:amd64.
Preparing to unpack .../3-libtinyxml2-6_6.0.0+dfsg-1_amd64.deb ...
Unpacking libtinyxml2-6:amd64 (6.0.0+dfsg-1) ...
Selecting previously unselected package libzen0v5:amd64.
Preparing to unpack .../4-libzen0v5_0.4.37-1_amd64.deb ...
Unpacking libzen0v5:amd64 (0.4.37-1) ...
Selecting previously unselected package libmediainfo0v5:amd64.
Preparing to unpack .../5-libmediainfo0v5_17.12-1ubuntu0.1_amd64.deb ...
Unpacking libmediainfo0v5:amd64 (17.12-1ubuntu0.1) ...
Selecting previously unselected package mediainfo.
Preparing to unpack .../6-mediainfo_17.12-1_amd64.deb ...
Unpacking mediainfo (17.12-1) ...
Selecting previously unselected package filebot.
Preparing to unpack .../7-filebot_4.9.0_all.deb ...
Unpacking filebot (4.9.0) ...
Setting up libtinyxml2-6:amd64 (6.0.0+dfsg-1) ...
Setting up libchromaprint-tools (1.4.3-1) ...
Setting up libzen0v5:amd64 (0.4.37-1) ...
Setting up libjna-jni (4.5.1-1) ...
Setting up libmediainfo0v5:amd64 (17.12-1ubuntu0.1) ...
Setting up libjna-java (4.5.1-1) ...
Setting up mediainfo (17.12-1) ...
Setting up filebot (4.9.0) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Doing it that way seems to have fixed the problem, thank you!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] java.lang.ClassNotFoundException: javafx.concurrent.Worker

Post by rednoah »

Yep, apt install filebot will streamline everything. That's the way to go on Debian / Ubuntu / Mint / etc.

:idea: If you choose the portable package, then you might need to tinker around a little bit, satisfying dependencies, configuring things, since that package is not designed specifically for Debian / Ubuntu / Mint but meant for generic Linux devices and thus not pre-configured for any one particular environment.
:idea: Please read the FAQ and How to Request Help.
Post Reply