Wowza Community

Wowza first run - ERROR: The Java command (java) could not be found.

Hello,

I am trying to install my Wowza using a standard script I use every time but on this specific server I get an error related to Java.

I even asked the DC to re-install the OS because previous fix to this issue resulted in origin redirecting clients to server but server could not push more than 1Mbps and no audio/video was loading at client end.

This is the error I get

service WowzaMediaServer start
ERROR: The Java command (java) could not be found.
Search path: /sbin:/usr/sbin:/bin:/usr/bin
In most cases this problem can be fixed by adding a symbolic
link to the Java command in the /usr/bin directory.
To do this first execute the command "which java" to identify
the full path to the Java executable. Next, create a symbolic
link to this file with the command
"ln -sf [path-to-java] /usr/bin/java" where [path-to-java] is
the path returned by the "which" command.

Can some one help me to fix it?

Thanks in advance.

When I try which command i get this

# which java
/usr/bin/java

So the suggested steps seems be already there?

Thanks

The java sym link was pointed to the alternatives path. That fixed the issue.

The previous symbolic link was corrupt i think.

Thanks.

What is the output when you type “java -version” on the command line?

It may help install the latest Sun JDK (1.7), and reboot.