# Downloaded jre-7u1-linux-x64.rpm for rhel6 64 bit

**URL:** <https://community.wowza.com/t/downloaded-jre-7u1-linux-x64-rpm-for-rhel6-64-bit/37781>\
**Category:** Wowza Streaming Engine\
**Created:** [December 6, 2011, 2:24pm UTC](https://community.wowza.com/t/downloaded-jre-7u1-linux-x64-rpm-for-rhel6-64-bit/37781 "2011-12-06T14:24:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Griffin](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Scott\_Griffin](https://community.wowza.com/u/Scott_Griffin)\
**Post date:** [December 6, 2011, 2:24pm UTC](https://community.wowza.com/t/downloaded-jre-7u1-linux-x64-rpm-for-rhel6-64-bit/37781/1 "2011-12-06T14:24:15Z")

</div>

I am following the installation guide and I downloaded the Java runtime environment not the SDK.

[root@ztvid ~]# java -server -version

java version “1.7.0\_01”

Java™ SE Runtime Environment (build 1.7.0\_01-b08)

Java HotSpot™ 64-Bit Server VM (build 21.1-b02, mixed mode)

I installed the .rpm version of java.

My question is where do I find the parameters for the tuning of java for the specifications?

[install-dir]/bin/setenv.sh (Linux, Mac OSX and Solaris)

JAVA\_OPTS="-Xmx3000M"

I am trying to figure out where you find the:

[install-dir]/bin/setenv.sh

I have the file system mounted with noatime option no problem there just need some help on the java configuration.

Would these java tuning parameters be made in the following:

# .bash\_profile

# Get the aliases and functions

if [-f ~/.bashrc]; then

. ~/.bashrc

fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

Is this correct?

thanks

---

<div class="post-metadata">

**Author:** ![Scott\_Griffin](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Scott\_Griffin](https://community.wowza.com/u/Scott_Griffin)\
**Post date:** [December 6, 2011, 2:58pm UTC](https://community.wowza.com/t/downloaded-jre-7u1-linux-x64-rpm-for-rhel6-64-bit/37781/2 "2011-12-06T14:58:11Z")

</div>

I installed the package and found the file:

/usr/local/WowzaMediaServer/bin/setenv.sh

this is the correct one that needs modification for the java tuning parameters correct?

---

<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:** [December 6, 2011, 9:05pm UTC](https://community.wowza.com/t/downloaded-jre-7u1-linux-x64-rpm-for-rhel6-64-bit/37781/3 "2011-12-06T21:05:01Z")

</div>

Follow the Wowza Tuning Guide, which shows exactly what files to modify:

[https://www.wowza.com/docs/how-to-do-performance-tuning](https://www.wowza.com/docs/how-to-do-performance-tuning)

Richard

---

<div class="post-metadata">

**Author:** ![Scott\_Griffin](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Scott\_Griffin](https://community.wowza.com/u/Scott_Griffin)\
**Post date:** [December 6, 2011, 3:14pm UTC](https://community.wowza.com/t/downloaded-jre-7u1-linux-x64-rpm-for-rhel6-64-bit/37781/4 "2011-12-06T15:14:53Z")

</div>

Thank you Richard that got me going.
