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