Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needed to replace Java lines in .sh #2027

Closed
chadfay opened this issue May 6, 2020 · 3 comments
Closed

Needed to replace Java lines in .sh #2027

chadfay opened this issue May 6, 2020 · 3 comments

Comments

@chadfay
Copy link

chadfay commented May 6, 2020

9.3.1 started and worked fine but
Starting UMS 9.4.2:

chap@410debbie:~/ums-9.4.2$ ./UMS.sh
./UMS.sh: 72: exec: jre/bin/java: not found

So just replaced:

replaced(9.4.2):
lines 40 - 43

Use our JVM if it exists

if [ -f jre/bin/java ]; then
JAVA="jre/bin/java"
fi

With(from 9.3.1):
lines 40 - 49

Use our JVM if it exists and the Linux distribution appears to be standard 32 or 64-bit

if [ "$(uname -m | grep '64')" != "" ]; then
if [ -f linux/jre-x64/bin/java ]; then
JAVA="linux/jre-x64/bin/java"
fi
elif [ "$(uname -m | grep '86')" != "" ]; then
if [ -f linux/jre-x86/bin/java ]; then
JAVA="linux/jre-x86/bin/java"
fi

@SubJunk
Copy link
Member

SubJunk commented May 7, 2020

@chadfay can you please let me know which file you downloaded?

@SubJunk
Copy link
Member

SubJunk commented May 9, 2020

How can line 72 report exec: jre/bin/java: not found if line 40 was if [ -f jre/bin/java ]; then? Any ideas @js-kyle ?

@valib valib added this to In progress in Universal Media Server May 28, 2020
@valib valib moved this from In progress to To do in Universal Media Server May 28, 2020
@SubJunk
Copy link
Member

SubJunk commented Jun 17, 2020

Closing due to no reply from @chadfay

@SubJunk SubJunk closed this as completed Jun 17, 2020
Universal Media Server automation moved this from To do to Done Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants