# Windows7, JRE1.7 32 bits Error starting: java.lang.reflect.InvocationTargetException

**URL:** <https://community.wowza.com/t/windows7-jre1-7-32-bits-error-starting-java-lang-reflect-invocationtargetexception/38820>\
**Category:** Wowza Streaming Engine\
**Created:** [August 28, 2014, 9:11am UTC](https://community.wowza.com/t/windows7-jre1-7-32-bits-error-starting-java-lang-reflect-invocationtargetexception/38820 "2014-08-28T09:11:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yarek\_chmielewski](https://avatars.discourse-cdn.com/v4/letter/y/a8b319/32.png) [@yarek\_chmielewski](https://community.wowza.com/u/yarek_chmielewski)\
**Post date:** [August 28, 2014, 9:11am UTC](https://community.wowza.com/t/windows7-jre1-7-32-bits-error-starting-java-lang-reflect-invocationtargetexception/38820/1 "2014-08-28T09:11:23Z")

</div>

I unistalled all JAVA and installed jre1.7 32 bits.

I have wowza 4 and IDE 2

I stop wowza services.

I have done that on 3 different PC with SAME RESULT: this is HELL !

When I create a new Wowza Media server project from IDE, and run Wowza, I got:

Error starting: java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:555)

at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:67)

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/SystemUtils

at com.wowza.wms.bootstrap.BootstrapSystemTuningInfo.getSystemTuningInfo(BootstrapSystemTuningInfo.java:113)

at com.wowza.wms.server.ServerTuningHandler.(ServerTuningHandler.java:248)

at com.wowza.wms.server.Server.(Server.java:864)

at com.wowza.wms.server.Server.getInstance(Server.java:912)

at com.wowza.wms.server.Server.start(Server.java:961)

… 6 more

Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.SystemUtils

at java.net.URLClassLoader$1.run(Unknown Source)

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)

… 11 more

Can someone help me please ?

Do I need to run wowza from IDE ?

It seems it creates a .JAR : how can I test it ?

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [August 28, 2014, 1:37pm UTC](https://community.wowza.com/t/windows7-jre1-7-32-bits-error-starting-java-lang-reflect-invocationtargetexception/38820/2 "2014-08-28T13:37:14Z")

</div>

Hi there.

To fix this error. In Eclipse, right click on the project in the left menu and choose “properties”

Next, click on the Run/Debug settings on the left, highlight the launch configuration and click Edit

Under the “arguments” tab, add the following line to the output in “VM Arguments”

On Windows:

```auto
-Dcom.wowza.wms.native.base="win"

```

On Mac:

```auto
-Dcom.wowza.wms.native.base="osx"

```

Salvadore

---

<div class="post-metadata">

**Author:** ![yarek\_chmielewski](https://avatars.discourse-cdn.com/v4/letter/y/a8b319/32.png) [@yarek\_chmielewski](https://community.wowza.com/u/yarek_chmielewski)\
**Post date:** [August 28, 2014, 12:22pm UTC](https://community.wowza.com/t/windows7-jre1-7-32-bits-error-starting-java-lang-reflect-invocationtargetexception/38820/3 "2014-08-28T12:22:39Z")

</div>

GREAT : That works !!

Why isn’t that parameter included ? I got that error on 3 different PCs !

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [August 28, 2014, 2:36pm UTC](https://community.wowza.com/t/windows7-jre1-7-32-bits-error-starting-java-lang-reflect-invocationtargetexception/38820/4 "2014-08-28T14:36:53Z")

</div>

Thanks for the update and glad I could help!

Salvadore
