OS X Using the Minecraft version of Java to run tinyMediaManager
I wanted to run tinyMediaManager on my Mac (macOS Catalina), without installing Java as I have had issues with that in the past. So I started having a poke around to see if I could use the version of Java that comes with Minecraft - and it turns out you can! Smile

After downloading tMM and copying it to your /Applications/ folder - assuming you have the latest version of Minecraft and you have loaded it at least once (the Minecraft Launcher does the actual downloading of Java etc) - you can open a terminal and run this command:

~/Library/Application\ Support/minecraft/runtime/jre-x64/jre.bundle/Contents/Home/bin/java -Dsilent=noupdate -Djava.net.preferIPv4Stack=true -Dappbase=https://www.tinymediamanager.org/ -jar /Applications/tinyMediaManager.app/Contents/Resources/Java/getdown.jar /Applications/tinyMediaManager.app/Contents/Resources/Java/

Hopefully this helps some others looking to run tMM on their macOS.

that could be solved more elegant (whereas this is not officially documented, but tmm is able to run this way):

* download the Java runtime (JRE) for your OS from: https://adoptopenjdk.net/archive.html?va...ant=openj9
* extract the contents of this archive to the tmm folder; you should now have a folder called like "jdk-11.0.5+10-jre" inside the tmm folder.
* rename the extracted folder to "java_vm"

launch tmm :-)

if anything does not work, you can simply rename/delete the
folder and tmm will start with the system Java

this way you have an optimized and independent Java just for tmm

EDIT: I forgot that our patcher/launcher needs java as well Sad so your solution is needed to launch the tmm launcher/patcher.. we're working hard to solve this issue, but this needs a ton of testing
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate
Found a bug or want to submit a feature request? Contact us at GitLab
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
Using the Minecraft version of Java to run tinyMediaManager00
This forum uses Lukasz Tkacz MyBB addons.