# Wowza startup: Windows 7 ultimate x64 cannot find \\bin\\java.exe

**URL:** <https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728>\
**Category:** Wowza Streaming Engine\
**Created:** [September 27, 2009, 12:13am UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728 "2009-09-27T00:13:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![brk\_so](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@brk\_so](https://community.wowza.com/u/brk_so)\
**Post date:** [September 27, 2009, 12:13am UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/1 "2009-09-27T00:13:01Z")

</div>

Having installed Wowza server on Windows 7 final x64 bit + java6 + jdk 1.6.0-14 + java FX sdk 1.2 , and Clicking the `Wowza pro startup` icon I get:

> Windows cannot find `\bin\java.exe`. Make sure you typed the name correctly and try again.
> 
> Any idea anyone what`s wrong ?
> 
> Thanks

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [September 26, 2009, 3:16pm UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/2 "2009-09-26T15:16:10Z")

</div>

Sounds like Java is not installed. Install java. If already installed open a command prompt and type:

java -version

It should return the Java version number. If the above command does not return a Java version number, then be sure your PATH variable includes the Java bin location.

Also be sure the JAVA\_HOME environement variable is pointing to the root directory of your Java installation.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [October 11, 2009, 12:58pm UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/3 "2009-10-11T12:58:14Z")

</div>

JAVA\_HOME should be set to:

```auto
C:\Program Files\Java\jre6

```

Not:

```auto
C:\Program Files\Java\jre6\bin

```

But I think the current problem is something else. It looks like a permission problem.

```auto
C:\Program Files\Wowza Media Systems\Wowza Media
Server 2 Preview 7\logs\wowzamediaserver_access.log 

```

Be sure the user you are logged in as has full file permissions to this directory and all files as sub-folders:

```auto
C:\Program Files\Wowza Media Systems\Wowza Media
Server 2 Preview 7

```

Charlie

---

<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:** [September 27, 2009, 12:24pm UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/4 "2009-09-27T12:24:11Z")

</div>

I don’t think it is necessary to run Wowza, but to make the java -version command work from anywhere you do have to add path to java.exe in your Path variable, something like this:

> ;C:\Program Files\Java\jdk1.6.0\_16\bin

On XP you edit path by right clicking My Computer → Properties → Advanced Tab → Environment Variables Button. Then scroll down in the list of System Variables to Path, and click edit, then add correct path to the end of the with a semi-colon separator. And I think you have to reboot. That makes the java command available from anywhere.

or you can do it like this:

> cd C:\Program Files\Java\jdk1.6.0\_16\bin
> 
> java -version

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:** [October 17, 2009, 3:54pm UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/5 "2009-10-17T15:54:06Z")

</div>

See what you get in cmd window with these commands:

echo %WMSAPP\_HOME%

echo %WMSCONFIG\_HOME%

Should be path to Wowza install, and should not end with “/”

Richard

---

<div class="post-metadata">

**Author:** ![Steve\_On](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Steve\_On](https://community.wowza.com/u/Steve_On)\
**Post date:** [November 18, 2009, 4:04pm UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/6 "2009-11-18T16:04:44Z")

</div>

I solved the problem by running the ide as admin

---

<div class="post-metadata">

**Author:** ![brk\_so](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@brk\_so](https://community.wowza.com/u/brk_so)\
**Post date:** [September 27, 2009, 2:56am UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/7 "2009-09-27T02:56:53Z")

</div>

Thanks for responding Charlie.

You solved my problem , but I am still not sure about one issue :

run\>java -version gave:

> Windows cannot find java

My JAVA\_HOME held the path to jdk 1.60\_14 so I changed it to the jre6.

Now the Wowza server does startup with no issues, and [http://localhost:1935](http://localhost:1935) is all good.

But run\>java -version still gives the same message about not finding Java. could this be a windows 7 issue, that it needs some different command to locate the Java ? ( also: I have no clue where to find the `path variable` if this is still relevant at all)

Thanks a lot for your help.

---

<div class="post-metadata">

**Author:** ![Gokhan\_AYKAN](https://avatars.discourse-cdn.com/v4/letter/g/c4cdca/32.png) [@Gokhan\_AYKAN](https://community.wowza.com/u/Gokhan_AYKAN)\
**Post date:** [October 11, 2009, 10:07pm UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/8 "2009-10-11T22:07:18Z")

</div>

I Pointed JAVA\_HOME to C:\Program Files\Java\jre6\bin

But I get the foolowing on Windows 7

Configure logging: file:///C:/Program Files/Wowza Media Systems/Wowza Media Serv

er 2 Preview 7/conf/log4j.properties

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files\Wowza Media Systems\Wowza Media

Server 2 Preview 7\logs\wowzamediaserver\_access.log (Access is denied)

at java.io.FileOutputStream.openAppend(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.apache.log4j.FileAppender.setFile(Unknown Source)

at org.apache.log4j.FileAppender.activateOptions(Unknown Source)

at org.apache.log4j.DailyRollingFileAppender.activateOptions(Unknown Sou

rce)

at org.apache.log4j.config.PropertySetter.activate(Unknown Source)

at org.apache.log4j.config.PropertySetter.setProperties(Unknown Source)

at org.apache.log4j.config.PropertySetter.setProperties(Unknown Source)

at org.apache.log4j.PropertyConfigurator.parseAppender(Unknown Source)

at org.apache.log4j.PropertyConfigurator.parseCategory(Unknown Source)

at org.apache.log4j.PropertyConfigurator.configureRootCategory(Unknown S

ource)

at org.apache.log4j.PropertyConfigurator.doConfigure(Unknown Source)

at org.apache.log4j.PropertyConfigurator.configure(Unknown Source)

at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Sour

ce)

at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Sour

ce)

at com.wowza.wms.server.Server.initLogging(Unknown Source)

at com.wowza.wms.server.Server.start(Unknown Source)

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:248)

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

log4j:ERROR Either File or DatePattern options are not set for appender [serverA

ccess].

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files\Wowza Media Systems\Wowza Media

Server 2 Preview 7\logs\wowzamediaserver\_error.log (Access is denied)

at java.io.FileOutputStream.openAppend(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.apache.log4j.FileAppender.setFile(Unknown Source)

at org.apache.log4j.FileAppender.activateOptions(Unknown Source)

at org.apache.log4j.DailyRollingFileAppender.activateOptions(Unknown Sou

rce)

at org.apache.log4j.config.PropertySetter.activate(Unknown Source)

at org.apache.log4j.config.PropertySetter.setProperties(Unknown Source)

at org.apache.log4j.config.PropertySetter.setProperties(Unknown Source)

at org.apache.log4j.PropertyConfigurator.parseAppender(Unknown Source)

at org.apache.log4j.PropertyConfigurator.parseCategory(Unknown Source)

at org.apache.log4j.PropertyConfigurator.configureRootCategory(Unknown S

ource)

at org.apache.log4j.PropertyConfigurator.doConfigure(Unknown Source)

at org.apache.log4j.PropertyConfigurator.configure(Unknown Source)

at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Sour

ce)

at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Sour

ce)

at com.wowza.wms.server.Server.initLogging(Unknown Source)

at com.wowza.wms.server.Server.start(Unknown Source)

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:248)

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

log4j:ERROR Either File or DatePattern options are not set for appender [serverE

rror].

INFO server server-start 2.0.0-preview7 build21940 -

ERROR server comment - server core failure: java.lang.NullPointerException

java.lang.NullPointerException

at com.wowza.wms.server.Server.startServer(Unknown Source)

at com.wowza.wms.server.Server.start(Unknown Source)

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:248)

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

---

<div class="post-metadata">

**Author:** ![Gokhan\_AYKAN](https://avatars.discourse-cdn.com/v4/letter/g/c4cdca/32.png) [@Gokhan\_AYKAN](https://community.wowza.com/u/Gokhan_AYKAN)\
**Post date:** [October 17, 2009, 10:31am UTC](https://community.wowza.com/t/wowza-startup-windows-7-ultimate-x64-cannot-find-bin-java-exe/33728/9 "2009-10-17T10:31:19Z")

</div>

I corrected JAVA\_HOME as c.\Program Files\Java\jre6

Checked if the user has full rights. They are ok.

I get :

Configure logging: file:///C:/Program Files/Wowza Media Systems/Wowza Media Serv

er 2 Preview 7/conf/log4j.properties

INFO server server-start 2.0.0-preview7 build21940 -

ERROR server comment - server core failure: java.lang.NullPointerException

java.lang.NullPointerException

at com.wowza.wms.server.Server.startServer(Unknown Source)

at com.wowza.wms.server.Server.start(Unknown Source)

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:248)

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

I will try with Windows 2008 and see whta happnes there…

Regards

Gokhan
