Uncaught exception in thread 'main' - GhostBSD installation

For talk and Help about everything concerning TV-Browser.
Antworten
Dusterbraut

Uncaught exception in thread 'main' - GhostBSD installation

Beitrag von Dusterbraut »

Hi there.

I am trying to migrate from 'Ubuntu Mate 22.04 LTS' to 'GhostBSD'.
I have downloaded TV-browser version 'tvbrowser_4.2.7_bin.zip' and installed 'OpenJDK 11 JRE'.
When starting TV-browser via 'java -jar tvbrowser.jar',
I get an uncaught exception:

UNCAUGHT EXCEPTION IN THREAD 'main'
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at util.ui.UiUtilities.getDefaultLookAndFeelClassName(UiUtilities.java:1258)
at tvbrowser.core.Settings$LookAndFeel.<clinit>(Settings.java:2016)
at tvbrowser.core.Settings.initializeAllSubClasses(Settings.java:932)
at tvbrowser.core.Settings.loadSettings(Settings.java:448)
at tvbrowser.TVBrowser.main(TVBrowser.java:437)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 5 more

Can you help me to make TV-browser run in GhostBSD?

Thanx a lot!
ds10
Site Admin
Beiträge: 19077
Registriert: 23 Jun 2005, 12:36
Kontaktdaten:

Re: Uncaught exception in thread 'main' - GhostBSD installation

Beitrag von ds10 »

For BSD you should download the tar.gz packet of TV-Browser. It comes with a shell script tvbrowser.sh to start TV-Browser.

To start TV-Browser you need to use the following command:

Code: Alles auswählen

java -Xms16m -Xmx1G --module-path="lib:tvbrowser.jar" -Djava.library.path="." -splash:imgs/splash.png -Dpropertiesfile=linux.properties -m tvbrowser/tvbrowser.TVBrowser
"First they ignore you, then they ridicule you, then they fight you, then you win." - Mahatma Gandhi
Unterstütze die Weiterentwicklung von TV-Browser
Gast

Re: Uncaught exception in thread 'main' - GhostBSD installation

Beitrag von Gast »

Thank you very much much for your fast and great support!
It works fine.
Antworten