Page 1 of 1
Unable to install UMS 14.11.0 on MacOS 12.7.6
Posted: Mon Apr 14, 2025 1:42 am
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?
Re: Unable to install UMS 14.11.0 on MacOS 12.7.6
Posted: Mon Apr 14, 2025 7:55 am
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
Re: Unable to install UMS 14.11.0 on MacOS 12.7.6
Posted: Mon Apr 14, 2025 1:30 pm
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.
Re: Unable to install UMS 14.11.0 on MacOS 12.7.6
Posted: Mon Apr 14, 2025 7:44 pm
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.
Re: Unable to install UMS 14.11.0 on MacOS 12.7.6
Posted: Tue Apr 15, 2025 7:04 am
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.