Kodi Community Forum
Yosemite & Java - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
---- Thread: Yosemite & Java (/showthread.php?tid=206770)



Yosemite & Java - terminalx - 2014-10-19

Hi
[OSX] The new Yosemite will not launch TinyMediaManager. It requires a separate legacy download of legacy Java SE 6
http://support.apple.com/kb/DL1572

Is this something that can addressed?
cheers


RE: Yosemite & Java - mlaggner - 2014-10-19

thanks for the hint.

tinyMediaManager relies on the Java framework - that is a component which has to be installed on the system to make any Java application working.
Unfortunately we cannot address this..

but you can also install the most recent version directly from oracle (Java 6 is rather old): https://www.java.com/de/download/index.jsp

hth
Manuel


RE: Yosemite & Java - bigbully - 2014-10-20

I have updated to the latest Java from Oracle and TMM still won't launch on Yosemite. I'm not positive what version I was at. Maybe 2.6.2. How can I upgrade without launching the app?


RE: Yosemite & Java - mlaggner - 2014-10-20

did you also try the Java 6 update directly from apple (http://support.apple.com/kb/DL1572) ? Maybe apple changed some policies which prevents tmm from being launched by Oracle Java 8


RE: Yosemite & Java - bigbully - 2014-10-20

I have not tried Java 6 yet. OSX does not allow multiple installs of Java and I'm not sure if I can downgrade. I was immediately notified that I needed to update to 8 after I installed Yosemite.


RE: Yosemite & Java - mlaggner - 2014-10-21

OSX allows multiple installs of Java (at least with Mavericks).

The problem is: tmm first looks for the Apple Java (1.6) which is in another location than Oracle Java; If Java 6 is found tmm wants to start with that..
I've rewritten the start script, but you won't be able to launch tmm (and thus upgrade it), if you have the outdated Java 6 on your system

So, from my point of view, you have to do either:
- ) install the latest java 6 from apple (outdated, but works best on OSX :/ )
- ) completely uninstall any Java 6 from your system ( http://mail.openjdk.java.net/pipermail/macosx-port-dev/2014-February/006388.html )

please report back if that worked for you


RE: Yosemite & Java - bigbully - 2014-10-21

I got it running now. I was prompted to install the legacy 6 Java when launching Photoshop CS5. It took me to an apple page to download and install Java instead of going through Oracle. Here is the apple link to install Legacy Java http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US


RE: Yosemite & Java - mlaggner - 2014-10-21

glad to hear!

I have changed the startup script of tmm to force Java 7/8 (if installed) over the legacy one. This should avoid problems for other users


RE: Yosemite & Java - GingerPrince18 - 2015-01-11

hiya

I've got this same problem with the latest version - 2.6.5

I'm on Yosemite, I've only got Java 8 installed and have never installed java 6. if I try launching the app I get a dialog saying "To open “tinyMediaManager.app” you need to install the legacy Java SE 6 runtime"

I can open a terminal window and navigate to /Applications/tinyMediaManager.app/Contents/Resources/Java/ and then run tinyMediaManagerOSX.sh and it launches with no problems.

any ideas?

cheers
Matt


RE: Yosemite & Java - mlaggner - 2015-01-11

I do not have any Mac without Java 6 to test here, but you could do a test for me:

navigate to /Applications/tinyMediaManager.app/ and create a backup of Info.plist

after that, remove the following lines from Info.plist

Code:
<key>Java</key>
    <dict>
      <key>MainClass</key>
      <string>com.threerings.getdown.launcher.Getdown</string>
      <key>JVMVersion</key>
      <string>1.6+</string>
      <key>ClassPath</key>
      <array>
        <string>$JAVAROOT/LICENSE</string>
        <string>$JAVAROOT/changelog.txt</string>
        <string>$JAVAROOT/env.txt</string>
        <string>$JAVAROOT/getdown.jar</string>
        <string>$JAVAROOT/getdown.txt</string>
        <string>$JAVAROOT/launch.jnlp</string>
        <string>$JAVAROOT/lib/DJNativeSwing-SWT.jar</string>
        <string>$JAVAROOT/lib/DJNativeSwing.jar</string>
        <string>$JAVAROOT/lib/JSplitButton.jar</string>
        <string>$JAVAROOT/lib/JTattoo.jar</string>
        <string>$JAVAROOT/lib/LightBox.jar</string>
        <string>$JAVAROOT/lib/Scaling-bin.jar</string>
        <string>$JAVAROOT/lib/api-common.jar</string>
        <string>$JAVAROOT/lib/asm.jar</string>
        <string>$JAVAROOT/lib/betterbeansbinding-core.jar</string>
        <string>$JAVAROOT/lib/betterbeansbinding-el.jar</string>
        <string>$JAVAROOT/lib/betterbeansbinding-swingbinding.jar</string>
        <string>$JAVAROOT/lib/commons-codec.jar</string>
        <string>$JAVAROOT/lib/commons-io.jar</string>
        <string>$JAVAROOT/lib/commons-lang3.jar</string>
        <string>$JAVAROOT/lib/core.jar</string>
        <string>$JAVAROOT/lib/fanarttvapi.jar</string>
        <string>$JAVAROOT/lib/forms.jar</string>
        <string>$JAVAROOT/lib/glazedlists.jar</string>
        <string>$JAVAROOT/lib/gson.jar</string>
        <string>$JAVAROOT/lib/httpclient.jar</string>
        <string>$JAVAROOT/lib/httpcore.jar</string>
        <string>$JAVAROOT/lib/httpmime.jar</string>
        <string>$JAVAROOT/lib/image-viewer.jar</string>
        <string>$JAVAROOT/lib/imgscalr-lib.jar</string>
        <string>$JAVAROOT/lib/jackson-annotations.jar</string>
        <string>$JAVAROOT/lib/jackson-core.jar</string>
        <string>$JAVAROOT/lib/jackson-databind.jar</string>
        <string>$JAVAROOT/lib/jcl-over-slf4j.jar</string>
        <string>$JAVAROOT/lib/jdom.jar</string>
        <string>$JAVAROOT/lib/jgoodies-common.jar</string>
        <string>$JAVAROOT/lib/jmte-unbundled.jar</string>
        <string>$JAVAROOT/lib/jna.jar</string>
        <string>$JAVAROOT/lib/jsoup.jar</string>
        <string>$JAVAROOT/lib/log4j-over-slf4j.jar</string>
        <string>$JAVAROOT/lib/logback-classic.jar</string>
        <string>$JAVAROOT/lib/logback-core.jar</string>
        <string>$JAVAROOT/lib/objectdb.jar</string>
        <string>$JAVAROOT/lib/platform.jar</string>
        <string>$JAVAROOT/lib/quaqua-filechooser-only.jar</string>
        <string>$JAVAROOT/lib/resources.jar</string>
        <string>$JAVAROOT/lib/retrofit.jar</string>
        <string>$JAVAROOT/lib/rottentomatoesapi.jar</string>
        <string>$JAVAROOT/lib/slf4j-api.jar</string>
        <string>$JAVAROOT/lib/themoviedbapi.jar</string>
        <string>$JAVAROOT/lib/thetvdbapi.jar</string>
        <string>$JAVAROOT/lib/trakt-java.jar</string>
        <string>$JAVAROOT/lib/twinkle.jar</string>
        <string>$JAVAROOT/lib/versions.txt</string>
        <string>$JAVAROOT/lib/xmlrpc-client.jar</string>
        <string>$JAVAROOT/locale/messages_cs.properties</string>
        <string>$JAVAROOT/locale/messages_da.properties</string>
        <string>$JAVAROOT/locale/messages_de.properties</string>
        <string>$JAVAROOT/locale/messages_es.properties</string>
        <string>$JAVAROOT/locale/messages_fr.properties</string>
        <string>$JAVAROOT/locale/messages_hu.properties</string>
        <string>$JAVAROOT/locale/messages_it.properties</string>
        <string>$JAVAROOT/locale/messages_ko.properties</string>
        <string>$JAVAROOT/locale/messages_nl.properties</string>
        <string>$JAVAROOT/locale/messages_no.properties</string>
        <string>$JAVAROOT/locale/messages_pl.properties</string>
        <string>$JAVAROOT/locale/messages_pt.properties</string>
        <string>$JAVAROOT/locale/messages_ro.properties</string>
        <string>$JAVAROOT/locale/messages_ru.properties</string>
        <string>$JAVAROOT/locale/messages_sk.properties</string>
        <string>$JAVAROOT/locale/messages_sv.properties</string>
        <string>$JAVAROOT/locale/messages_tr.properties</string>
        <string>$JAVAROOT/locale/messages_vi.properties</string>
        <string>$JAVAROOT/locale/messages_zh.properties</string>
        <string>$JAVAROOT/native/mac-i386/libmediainfo.dylib</string>
        <string>$JAVAROOT/native/mac-i386/libquaqua.jnilib</string>
        <string>$JAVAROOT/native/mac-x86_64/libmediainfo.dylib</string>
        <string>$JAVAROOT/native/mac-x86_64/libquaqua.jnilib</string>
        <string>$JAVAROOT/native/mac-x86_64/libquaqua64.dylib</string>
        <string>$JAVAROOT/native/mac-x86_64/libquaqua64.jnilib</string>
        <string>$JAVAROOT/objectdb.conf</string>
        <string>$JAVAROOT/splashscreen.png</string>
        <string>$JAVAROOT/templates/DetailExample2Html.jar</string>
        <string>$JAVAROOT/templates/DetailExampleHtml.jar</string>
        <string>$JAVAROOT/templates/ExcelXml.jar</string>
        <string>$JAVAROOT/templates/ListExampleCsv.jar</string>
        <string>$JAVAROOT/templates/ListExampleHtml.jar</string>
        <string>$JAVAROOT/templates/ListExampleXml.jar</string>
        <string>$JAVAROOT/templates/SimpleConfluence.jar</string>
        <string>$JAVAROOT/templates/TvShowDetailExampleXml.jar</string>
        <string>$JAVAROOT/templates/jQueryliscious.jar</string>
        <string>$JAVAROOT/templates/readme.txt</string>
        <string>$JAVAROOT/tmm.jar</string>
        <string>$JAVAROOT/tmm.png</string>
        <string>$JAVAROOT/version</string>
      </array>
      <key>VMOptions</key>
      <string/>
      <key>WorkingDirectory</key>
      <string>$JAVAROOT</string>
      <key>Arguments</key>
      <string>.</string>
    </dict>

maybe that causes OSX to force asking for Java..


RE: Yosemite & Java - Lale - 2015-01-15

Hi!

I use this workaround. I'm running 2.6.5 on Yosemite + Oracle Java 1.8

In Finder navigate to Applications, select tinyMediaManager.app, right click and Show Package Contents.

Select tmm.jar and drag it to the desktop (This makes an alias). Then i can start tinyMediaManager perfectly with this alias instead.

/ L


RE: Yosemite & Java - GingerPrince18 - 2015-01-17

Hi

Yep, I removed that code from the info plist and it starts up as normal now, thanks!!

cheers
Matt


RE: Yosemite & Java - mlaggner - 2015-01-17

thanks for the response;
I'll work the changes into the next version


This forum uses Lukasz Tkacz MyBB addons.