Hello to all here,
I am installing the evaluation version on a CentOS host.
I have installed the files and installed Java 1.6.0_15.
When I attempt the command ./startup.sh I am getting the error:
Exception in thread “main” java.lang.NoClassDefFoundError: com/wowza/wms/bootstrap/Bootstrap
Caused by: java.lang.ClassNotFoundException: com.wowza.wms.bootstrap.Bootstrap
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: com.wowza.wms.bootstrap.Bootstrap. Program will exit.
My setenv.sh file looks like this:
#!/bin/sh
_EXECJAVA=/usr/java/jre1.6.0_15/bin/java
modified by JL _EXECJAVA=java
old value JAVA_OPTS="-Xmx768M"
JAVA_OPTS="-Xmx200M"
Uncomment to run server environment (faster), Note: will only work if server VM install, comes with JDL
#JAVA_OPTS="$JAVA_OPTS -server"
Uncomment to fix multicast crosstalk problem when streams share multicast port
#JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
Uncomment to fix issue with socket code on some platforms
#JAVA_OPTS="$JAVA_OPTS -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider"
WMSAPP_HOME=/usr/local/WowzaMediaServerPro
WMSCONFIG_HOME=/usr/local/WowzaMediaServerPro
WMSCONFIG_URL=
export WMSAPP_HOME WMSCONFIG_HOME JAVA_OPTS _EXECJAVA
Have I done something wrong with the Java install?
Help please.