Check these lines in red5.sh startup script and delete the Extra '=' in the line and save the file.
==========================================================
SECURITY_OPTS="-Djava.security.debug=failure"
#export JAVA_OPTS="$LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS"
export JAVA_OPTS=="-Xint -Xms8M -Xmx16M $LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS"
if [ -z "$RED5_MAINCLASS" ]; then