Solved TMM won't start in fedora 22
#12
(2015-05-29, 19:55)myron Wrote: This is the "command line" version of TMM.
Interesting.
Is this a box without GUI?!
Java thinks you are in "headless" mode...
Or are there separate Java packages for GUI?

you might want to try the same command again, but add "-Djava.awt.headless=false" (as second-last parameter)
Does this then work?

No.. Not a headless box. I tried the change you mentioned. Check if I did it right. -

Code:
[[email protected] ~] $ cd /home/akya/tmm_2.6.7_r2013_linux/ && /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-38.b14.fc22.x86_64/jre/bin/java -classpath /home/akya/tmm_2.6.7_r2013_linux/./tmm.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/DJNativeSwing-SWT.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/DJNativeSwing.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/JSplitButton.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/JTattoo.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/LightBox.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/Scaling-bin.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/api-common.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/asm.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/betterbeansbinding-core.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/betterbeansbinding-el.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/betterbeansbinding-swingbinding.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/commons-codec.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/commons-io.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/commons-lang3.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/core.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/fanarttvapi.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/forms.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/glazedlists.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/gson.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/httpclient.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/httpcore.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/httpmime.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/image-viewer.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/imgscalr-lib.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jackson-annotations.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jackson-core.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jackson-databind.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jcl-over-slf4j.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jdom.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jgoodies-common.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jmte-unbundled.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jna.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/joda-time.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/json-20131018.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jsoup.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/jtidy.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/log4j-over-slf4j.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/logback-classic.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/logback-core.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/objectdb.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/platform.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/quaqua-filechooser-only.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/resources.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/retrofit.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/rottentomatoesapi.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/slf4j-api.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/themoviedbapi.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/thetvdbapi.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/trakt-java.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/twinkle.jar:/home/akya/tmm_2.6.7_r2013_linux/./lib/xmlrpc-client.jar:lib/swt.jar:locale/* -Dcom.threerings.getdown=true -Xms64m -Xmx512m -Xss512k -splash:splashscreen.png -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -XX:CompileCommand=exclude,ca/odell/glazedlists/impl/filter/TextMatchers,matches -XX:CompileCommand=exclude,ca/odell/glazedlists/impl/filter/BoyerMooreCaseInsensitiveTextSearchStrategy,indexOf -Djava.awt.headless=false -Djna.nosys=true org.tinymediamanager.TinyMediaManager
CompilerOracle: exclude ca/odell/glazedlists/impl/filter/TextMatchers.matches
CompilerOracle: exclude ca/odell/glazedlists/impl/filter/BoyerMooreCaseInsensitiveTextSearchStrategy.indexOf
2015-05-29 23:42:08,609 INFO  [main] org.tinymediamanager.TinyMediaManager:121 - =====================================================
2015-05-29 23:42:08,652 INFO  [main] org.tinymediamanager.TinyMediaManager:122 - === tinyMediaManager (c) 2012-2015 Manuel Laggner ===
2015-05-29 23:42:08,653 INFO  [main] org.tinymediamanager.TinyMediaManager:123 - =====================================================
2015-05-29 23:42:08,668 INFO  [main] org.tinymediamanager.TinyMediaManager:124 - tmm.version      : 2.6.7 (r2013)
2015-05-29 23:42:09,127 WARN  [main] org.tinymediamanager.core.Settings:192 - could not load settings - creating default ones...
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-38.b14.fc22.x86_64/jre/lib/amd64/libawt_xawt.so
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
    at java.lang.Runtime.load0(Runtime.java:809)
    at java.lang.System.load(System.java:1086)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at java.awt.Toolkit$3.run(Toolkit.java:1640)
    at java.awt.Toolkit$3.run(Toolkit.java:1638)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1637)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1672)
    at java.awt.EventQueue.isDispatchThread(EventQueue.java:1041)
    at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1361)
    at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:91)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
    at org.tinymediamanager.core.AbstractModelObject.firePropertyChange(AbstractModelObject.java:96)
    at org.tinymediamanager.core.Settings.addVideoFileTypes(Settings.java:287)
    at org.tinymediamanager.core.Settings.writeDefaultSettings(Settings.java:461)
    at org.tinymediamanager.core.Settings.getInstance(Settings.java:194)
    at org.tinymediamanager.Globals.<clinit>(Globals.java:27)
    at org.tinymediamanager.TinyMediaManager.main(TinyMediaManager.java:126)
[[email protected] tmm_2.6.7_r2013_linux] $


(2015-05-29, 20:04)mlaggner Wrote: exactly what I thought:

on linux there is in general a java "headless" package (with java core packages) and a java package for UI access
unfortunately I could not get a hint which packages to install for Fedora 22.. (I am not familiar with Fedora..)
I am not that familiar either. First time trying Smile
~Web and graphic designer... Linux enthusiast... Python Fan... A Gooner~
[AMD A10-7850K 3.7 Ghz, Radeon R7]
[Fedora 27] | [Kodi - 17.6 / Skin - Grid]

Image


Messages In This Thread
TMM won't start in fedora 22 - by akya - 2015-05-28, 03:13
RE: TMM won't start in fedora 22 - by akya - 2015-05-28, 07:25
RE: TMM won't start in fedora 22 - by akya - 2015-05-29, 03:34
RE: TMM won't start in fedora 22 - by akya - 2015-05-29, 08:25
RE: TMM won't start in fedora 22 - by akya - 2015-05-29, 19:37
RE: TMM won't start in fedora 22 - by myron - 2015-05-29, 19:55
RE: TMM won't start in fedora 22 - by akya - 2015-05-29, 20:16
RE: TMM won't start in fedora 22 - by akya - 2015-05-29, 20:48


Logout Mark Read Team Forum Stats Members Help
TMM won't start in fedora 220
This forum uses Lukasz Tkacz MyBB addons.