4.8.16+1 update does not recognize JRE

when attempting to update 4.8.14+9 to 4.8.16+1, I have executed the update.sh file, which returns this:

Verifying running as administrative user
Verifying Java 9 or greater is available
utils.sh: line 21: [: 9-internal: integer expression expected
Found Java version: ‘9-internal’ at path: ‘/usr/bin/java’
Wowza Streaming Engine 4.7.8 requires a Java 9 or greater VM to be installed.
Before attempting to run the server, please install a Java 9 compatible VM.
Wowza Streaming Engine won’t start without a Java version between 9 and 12.

…I have verified that JRE 9.0.4 is installed. What gives?

Hmmmm…hard to know why it’s not recognizing it without a complete review of your files. You would need to submit a support ticket so we can quickly identify what happened.

In the meantime, I can share this troubleshooting doc:

https://www.wowza.com/docs/manually-install-and-troubleshoot-java-on-wowza-streaming-engine


The only other thing I can think of is if you used your own JRE instead of the one we provide, it gets a little messed up sometimes.

A final suggestion is to roll back and try to update it again. That has fixed issues for people before. But, please send a support ticket so we can double check our end of things with the new version release. Thanks…

Thank you Rose- I don’t think we rolled our own Java for this, pretty sure it’s a pure stock install. If I decide to install the new version from scratch, will it write over the old version or install side-by-side?

Some suggestions here :

  • Make sure you don’t have multiple java versions on same system

  • Try to upgrade to java 11 and try again

  • Try installing appropriate version of JDK instead of just JRE

1 Like

As it happens, I did in fact have another Java version on there. Thanks!

:+1: glad to hear that you figured it out !!

1 Like