Unable to install UMS 14.11.0 on MacOS 12.7.6

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
kerroppy
Posts: 2
Joined: Mon Apr 14, 2025 1:36 am

Unable to install UMS 14.11.0 on MacOS 12.7.6

Post by kerroppy »

Hello everyone,

I'm trying to install UMS 14.22 on my MacOS. I downloaded the DMG file, but when I launch or install the application, I get this error message:
Unable to load Java Runtime Environment.
I tried installing Java JRE 8u441 and Java JDK 24, but I still have the same problem.

What should I do?
User avatar
mik_s
Moderator
Posts: 1431
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Unable to install UMS 14.11.0 on MacOS 12.7.6

Post by mik_s »

I am not a Mac user so I can't really help much with this.

Are you sure you downloaded the right version as I know Macs have different CPU architectures.

You don't need to install Java separately as it is included in UMS as its own package.
You can make it use the system Java install instead but you need to alter the UMS.conf to point to the binaries.

I think UMS uses JDK 17 according to my logs so JDK 24 probably won't work.

Code: Select all

JVM: OpenJDK 64-Bit Server VM 17.0.14 (64-bit) by BellSoft
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
boss
Posts: 399
Joined: Thu Jun 30, 2016 1:07 pm

Re: Unable to install UMS 14.11.0 on MacOS 12.7.6

Post by boss »

@mik_s
"You can make it use the system Java install instead but you need to alter the UMS.conf to point to the binaries."
Are you sure that setting is in UMS.conf?
I don't know much about MacOS systems but understand that system is based around Linux.

If that is the case, the Java path has to be modified in UMS.sh in the UMS program folder.
Based on Linux, UMS is configured to use the included Java as default.
Like this in UMS.sh

Code: Select all

#Use our JVM if it exists
if [ -f jre17/bin/java ]; then
    JAVA="jre17/bin/java"
fi
If one wants to use their system Java, that needs to be changed to:

Code: Select all

# Use our JVM if it exists
#if [ -f jre17/bin/java ]; then
#    JAVA="jre17/bin/java"
#fi
But....maybe the MacOS install is different.
User avatar
mik_s
Moderator
Posts: 1431
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Unable to install UMS 14.11.0 on MacOS 12.7.6

Post by mik_s »

You're right it is not in UMS.conf, I thought it was in the -< Binary tools paths >- section but this is only for the transcoding engines.
I must have confused it with how you run UMS on Linux with USM.sh

That makes sense as it needs Java to run and read the UMS.conf so no point it being in here.





BTW the 2 examples you gave are the same, I think you forgot to edit the second one for system java
Edit: looking again the second one is commented out, it was hard to see when not using the code tags.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
kerroppy
Posts: 2
Joined: Mon Apr 14, 2025 1:36 am

Re: Unable to install UMS 14.11.0 on MacOS 12.7.6

Post by kerroppy »

mik_s wrote: Mon Apr 14, 2025 7:55 am I am not a Mac user so I can't really help much with this.

Are you sure you downloaded the right version as I know Macs have different CPU architectures.

You don't need to install Java separately as it is included in UMS as its own package.
You can make it use the system Java install instead but you need to alter the UMS.conf to point to the binaries.

I think UMS uses JDK 17 according to my logs so JDK 24 probably won't work.

Code: Select all

JVM: OpenJDK 64-Bit Server VM 17.0.14 (64-bit) by BellSoft
Indeed, I tried with a different installation file and I no longer get the error.

I think you're right; I didn't use the right file on my first attempt. Thanks for your help.
Post Reply