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

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

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?

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

https://www.wowza.com/docs/how-to-do-performance-tuning

Richard

Thank you Richard that got me going.