# mac + eclipse + not compile

**URL:** <https://community.wowza.com/t/mac-eclipse-not-compile/395>\
**Category:** Wowza Streaming Engine\
**Created:** [May 7, 2014, 12:49pm UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395 "2014-05-07T12:49:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [May 7, 2014, 12:49pm UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/1 "2014-05-07T12:49:45Z")

</div>

Hi,

don’t working compile in wowza 4 (ams 3.6 work fine)

mac + eclipse +ide2

1.create simple project

```auto
public class Start extends ModuleBase {
	public void onAppStart(IApplicationInstance appInstance) {
		String fullname = appInstance.getApplication().getName() + "/"
				+ appInstance.getName();
		getLogger().info("onAppStart: " + fullname);
	}
	public void onAppStop(IApplicationInstance appInstance) {
		String fullname = appInstance.getApplication().getName() + "/"
				+ appInstance.getName();
		getLogger().info("onAppStop: " + fullname);
	}
	public void onConnect(IClient client, RequestFunction function,
			AMFDataList params) {
		getLogger().info("onConnect: " + client.getClientId());
	}	 
}

```

1. try compile

```auto
Exception in thread "main" java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:394)
	at java.util.Properties.setProperty(Properties.java:143)
	at java.lang.System.setProperty(System.java:745)
	at com.wowza.wms.bootstrap.Bootstrap.resolveServerHome(Bootstrap.java:1383)
	at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:61)

```

---

<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:** [May 7, 2014, 6:44am UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/2 "2014-05-07T06:44:32Z")

</div>

Hi there, can you please confirm you have installed the Wowza IDE?

How are you creating this project?

Are you using the “New/Java Project” method? Or are you using “New/Other” Wowza Wizard?

Salvadore

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [May 7, 2014, 3:03pm UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/3 "2014-05-07T15:03:56Z")

</div>

> Hi there, can you please confirm you have installed the Wowza IDE?
> 
> How are you creating this project?
> 
> Are you using the “New/Java Project” method? Or are you using “New/Other” Wowza Wizard?
> 
> Salvadore

“New/Other” Wowza Wizard

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [May 7, 2014, 3:25pm UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/4 "2014-05-07T15:25:12Z")

</div>

tried to use instruction [https://www.wowza.com/streaming/developers/wowza-ide-software-update](https://www.wowza.com/streaming/developers/wowza-ide-software-update)

create new project “New/Other” - not work.

(but I removed /manager conf / arguments program -start argument and VM arguments)

```auto
Exception in thread "main" java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:394)
	at java.util.Properties.setProperty(Properties.java:143)
	at java.lang.System.setProperty(System.java:745)
	at com.wowza.wms.bootstrap.Bootstrap.resolveServerHome(Bootstrap.java:1383)
	at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:61)

```

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [May 7, 2014, 4:19pm UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/5 "2014-05-07T16:19:01Z")

</div>

not work

```auto
program arguments:
start
VM arguments:
-Xmx768M
-Dcom.wowza.wms.AppHome="/Library/WowzaStreamingEngine"
-Dcom.wowza.wms.ConfigHome="/Library/WowzaStreamingEngine"
-Dcom.sun.management.jmxremote=true

```

result

```auto
Error starting: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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:81)
	at com.wowza.wms.server.ServerTuningHandler.<init>(ServerTuningHandler.java:248)
	at com.wowza.wms.server.Server.<init>(Server.java:862)
	at com.wowza.wms.server.Server.getInstance(Server.java:908)
	at com.wowza.wms.server.Server.start(Server.java:957)
	... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.SystemUtils
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	... 11 more

```

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [May 7, 2014, 4:29pm UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/6 "2014-05-07T16:29:43Z")

</div>

add -Dcom.wowza.wms.native.base=“mac”

work!

thanks.

---

<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:** [May 7, 2014, 6:45am UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/7 "2014-05-07T06:45:22Z")

</div>

Additionally, if you need it, here is the [Wowza IDE](https://www.wowza.com/streaming/developers/wowza-ide-software-update)

Salvadore

---

<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:** [May 7, 2014, 8:14am UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/8 "2014-05-07T08:14:04Z")

</div>

> (but I removed /manager conf / arguments program -start argument and VM arguments)

Don’t do this, you need those for a Wowza project. That’s what the IDE puts in place when you create a new project and new module.

Also, you need to create a new Wowza project before creating the new module.

Salvadore

---

<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:** [May 7, 2014, 9:45am UTC](https://community.wowza.com/t/mac-eclipse-not-compile/395/9 "2014-05-07T09:45:41Z")

</div>

Yes, that was the missing link. Thanks for the update and glad you got this sorted out and working.

Salvadore
