# Wowza Installation on CentOS

**URL:** https://community.wowza.com/t/wowza-installation-on-centos/33675
**Category:** Wowza Streaming Engine
**Created:** [August 26, 2009, 12:09pm UTC](https://community.wowza.com/t/wowza-installation-on-centos/33675 "2009-08-26T12:09:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![john\_limbuvala](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@john\_limbuvala](https://community.wowza.com/u/john_limbuvala)
#### Post date: [August 26, 2009, 12:09pm UTC](https://community.wowza.com/t/wowza-installation-on-centos/33675/1 "2009-08-26T12:09:53Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [August 26, 2009, 8:23pm UTC](https://community.wowza.com/t/wowza-installation-on-centos/33675/2 "2009-08-26T20:23:53Z")

</div>

Change the first line of setenv.sh back to:

> \_EXECJAVA=java

What do you get when you run this command?

> java -version

This is a very low setting:

> JAVA\_OPTS=“-Xmx200M”

Are you trying to install on a low memory vps?

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [August 26, 2009, 9:26pm UTC](https://community.wowza.com/t/wowza-installation-on-centos/33675/3 "2009-08-26T21:26:20Z")

</div>

I’m not sure. That looks right. If it is a new install, I would start over: un-install Wowza and re-install it.

Richard

---

<div class="post-metadata">

### Author: ![john\_limbuvala](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@john\_limbuvala](https://community.wowza.com/u/john_limbuvala)
#### Post date: [August 26, 2009, 12:49pm UTC](https://community.wowza.com/t/wowza-installation-on-centos/33675/4 "2009-08-26T12:49:38Z")

</div>

rrlanham,

Not trying to install a low memeory system, just a system for testing, I read the 200 value in another thread but have changed it back to the default now.

[root@none bin]# java -version

java version “1.6.0\_15”

Java™ SE Runtime Environment (build 1.6.0\_15-b03)

Java HotSpot™ Client VM (build 14.1-b02, mixed mode, sharing)

Did all as you said but still the same problem though:

[root@none bin]# ./startup.sh

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.

---

<div class="post-metadata">

### Author: ![john\_limbuvala](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@john\_limbuvala](https://community.wowza.com/u/john_limbuvala)
#### Post date: [August 26, 2009, 2:10pm UTC](https://community.wowza.com/t/wowza-installation-on-centos/33675/5 "2009-08-26T14:10:40Z")

</div>

Hi,

Yes that worked, thanks for the help!
