Gentoo 3.0.1 fails to start

For talk and Help about everything concerning TV-Browser.

Gentoo 3.0.1 fails to start

Beitrag von Muzer » 01 Mai 2011, 14:20

When trying to run 3.0.1 on Gentoo, I get the following:

Code: Alles auswählen

muzer@muzer-gentoo ~/tvbrowser-3.0.1 $ ./ 
Starting TV-Browser...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0_24]
Configuring environment...
Loading TV-Browser:
java -Xms16m -Xmx256m  -Djava.library.path="/home/muzer/tvbrowser-3.0.1" -jar tvbrowser.jar ''
command line options:
    -minimized    The main window will be minimized after start up
    -nosplash     No splash screen during start up
    -fullscreen   Start in fullscreen-mode
    -ignorejvm    Don't check for Sun Java

13:16:45 INFO: Using settings from file /home/muzer/.tvbrowser/3.0.1/settings.prop
Exception in thread "main" java.lang.ClassFormatError: Unknown constant tag 65 in class file com/sun/java/swing/plaf/nimbus/NimbusStyle
        at javax.swing.plaf.synth.SynthLookAndFeel.getStyle(
        at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(
        at javax.swing.plaf.synth.SynthPanelUI.updateStyle(
        at javax.swing.plaf.synth.SynthPanelUI.installDefaults(
        at javax.swing.plaf.basic.BasicPanelUI.installUI(
        at javax.swing.plaf.synth.SynthPanelUI.installUI(
        at javax.swing.JComponent.setUI(
        at javax.swing.JPanel.setUI(
        at javax.swing.JPanel.updateUI(
        at javax.swing.JPanel.<init>(
        at javax.swing.JPanel.<init>(
        at javax.swing.JPanel.<init>(
        at javax.swing.JRootPane.createGlassPane(
        at javax.swing.JRootPane.<init>(
        at javax.swing.JDialog.createRootPane(
        at javax.swing.JDialog.dialogInit(
        at javax.swing.JDialog.<init>(
        at javax.swing.JDialog.<init>(
        at javax.swing.JDialog.<init>(
        at tvbrowser.ui.update.TvBrowserVersionChangeDlg.<init>(
        at tvbrowser.TVBrowser.updatePluginsOnVersionChange(
        at tvbrowser.TVBrowser.main(
muzer@muzer-gentoo ~/tvbrowser-3.0.1 $

Site Admin
Beiträge: 3353
Registriert: 09 Sep 2006, 22:45

Re: Gentoo 3.0.1 fails to start

Beitrag von Bananeweizen » 03 Mai 2011, 20:58

That's an exception in the Java-internal Nimbus look and feel. So the root cause is somewhere in your Java implementation. Therefore you may try to get around the problem by installing or using another Java VM (OpenJDK, IcedTea, ...).

In the next version the part of TV-Browser invoking that code has additional exception handling, so it _may_ already work around that issue. You could test that by downloading the most recent version from here: ... er/public/, unzipping that into a new directory and starting it (it's the transportable cross platform version of TV-Browser). Would be good to know if the issue still exists or not.

And finally you may also get around the problem by using another look and feel than Nimbus. Please locate the file in your TV-Browser installation, remove the "#" in the line starting with "#lookandfeel" and try again. That should force another look and feel to be loaded.


Re: Gentoo 3.0.1 fails to start

Beitrag von Muzer » 03 Mai 2011, 22:21

The new version works - indeed. Thanks a lot.