- Maven Integration
- Download and expand a JRE or JDK using root account. Record the path, e.g.
/usr/lib/jvm/jdk1.6.0_23(we call it
sudo update-alternatives --install "/usr/bin/java" "java" "<java path>/bin/java" 1
mkdir -v ~/.mozilla/plugins(skip this if the directory already exists)
ln -s <java path>/jre/lib/amd64/libnpjp2.so
“Perm” in these 2 JVM arguments refers to Permanent Generation.
The permanent generation is used to hold reflective of the VM itself such as class objects and method objects. These reflective objects are allocated directly into the permanent generation, and it is sized independently from the other generations. Generally, sizing of this generation can be ignored because the default size is adequate. However, programs that load many classes may need a larger permanent generation.
MaxPermSize defaults to 32m for -client and 64m for -server.