Mac OS X Lion では Java は出荷時には搭載されない。 ただし、 Java アプリケーション起動時に、 Java SE 6が追加インストールされる 66 。 10.8 - 10.11. Java Spring Boot Tutorial – Live Hello-World Web Application Example with Detailed Steps; Build RESTful Service in Java using JAX-RS and Jersey (Celsius to Fahrenheit & Fahrenheit to Celsius) How to install & setup Apache Tomcat server on Linux Ubuntu host on Linode.
Apache Tomcat is widely used Web Container in the world. Very big companies run on Apache Tomcat now a days. There are quite a few other alternatives like IBM WebSphere, Geronimo, IIS, etc. but Tomcat is my favorite one too.

It’s very critical for us to configure all correct parameters while running your application in Production environment or even in development env.
In this tutorial we will go over steps on how to configure -Xms, -Xmx and -XX:PermSize
value for Tomcat server. Let’s first understand few terms.
-Xmx
Specifies the maximum size, in bytes
, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K
to indicate kilobytes, or m or M
to indicate megabytes. The default value is 64MB. The upper limit for this value will be approximately 4000m on Solaris 7 and Solaris 8 SPARC platforms and 2000m
on Solaris 2.6 and x86 platforms, minus overhead amounts. So, in simple words, you are saying Java to use Maximum of 1024 MB from available memory.
NOTE
: there is NO SPACE
between -Xmx and 1024m
-Xmn
It’s a size of the heap for the young generation.
-XX:PermSize
It’s used to set size for Permanent Generation. It is where class files are kept.
Another must read
: Change -Xmx value of Tomcat in Eclipse IDE
Let’s get started:
Below are the simple steps to change -Xmx / -Xms values or other JVM parameters if you are running Tomcat from command prompt
.
Step-1
Download Apache Tomcat.
Step-2
Go to Apache Tomcat /bin
directory.
Step-3
By default you wont see setenv.sh (for Linux/Mac)
or setenv.bat (for windows)
file under /bin
directory. You have to create one with below parameters.

2 | export CATALINA_OPTS='$CATALINA_OPTS -Xmx8192m' export CATALINA_OPTS='$CATALINA_OPTS -XX:MaxPermSize=256m' |
Step-4
- Go to command prompt.
- Go to
<Tomcat Directory>/bin
directory - Execute command:
./catalina.sh run
Step-5
Monitor logfile and you should see your Tomcat started with all your specified parameters in setenv.sh
file.
Command for Windows Environment:
You need to create setenv.bat
file with below content:
set'JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx8192m -XX:MaxPermSize=256m -server' |
and run Tomcat with catalina.bat
Join the Discussion
If you liked this article, then please share it on social media or leave us your comments. Limited time 5 months free WPEngine hosting and Genesis themes.
Other Popular Articles...
Table of Contents
- Supported Security Gateways
- Linux Supported Platforms
- Related Links
- For more information on Check Point releases see: release map, upgrade map, backward compatibility map.
- You can also visit our General Product Topics forum, or any other CHECKMATES forum to ask questions and get answers from technical peers and Support experts.
- See sk91060: Removing old Check Point packages and files after an upgrade.
For more information on Check Point releases see: Release map, Upgrade map, Backward compatibility map. |
You can also visit our Remote Access forum, or any other CHECKMATES forum to ask questions and get answers from technical peers and Support experts. |
See sk91060: Removing old Check Point packages and files after an upgrade. |
Overview
SSL Network Extender is a secure connectivity framework for remote access to a corporate network. SSL Network Extender uses a thin VPN client installed on the user's remote computer that connects to an SSL-enabled web server. The web server and the client are in the same VPN. SSL Network Extender is downloaded automatically from the Mobile Access portal to the endpoint machines, so that client software does not have to be pre-installed and configured on users' PCs and laptops.
Note: SSL Network Extender requires that Java is installed on the endpoint computer. Java is not installed on Mac OS X 10.7 (Lion). For more information see sk65144 (SSL Network Extender - Java Availablity).
Supported Security Gateways
This hotfix can be installed on top of these Security Gateways:
- R76
- R77
- R77.10
- R77.20
- R77.30
- R80.10
- R80.20
- R80.30
- R80.40
- R81
Endpoint Platforms
SSL Network Extender is supported on these Operating Systems.
Windows
- XP Home and Professional (SP2, SP3) (32-bit and 64-bit)
- Windows 7 (including SP1) Ultimate, Enterprise, Professional, and Home (32-bit and 64-bit)
- Windows 8.1 update 1 (32-bit and 64-bit)
- Windows 10 (32-bit and 64-bit)
Note: SSL Network Extender is not supported on 64-bit browsers in Windows.
macOS
- Mac OS X 10.6.8 (Snow Leopard) (32-bit and 64-bit)
- Mac OS X 10.7, 10.7.1, 10.7.2, 10.7.3, 10.7.4, 10.7.5 (Lion) (32-bit and 64-bit)
- OS X 10.8, 10.8.1, 10.8.2 (Mountain Lion) (64-bit)
- OS X 10.9.x (Mavericks)
- OS X 10.10 (Yosemite)
- OS X 10.11 (El Capitan)
- macOS 10.12 (Sierra)
- macOS 10.13 (High Sierra)
- macOS 10.14 (Mojave)
- macOS 10.15 (Catalina)
Linux
- Ubuntu 11.10 and higher (32-bit and 64-bit)
- openSUSE 11.4 and higher (32-bit and 64-bit)
- Fedora 15 and higher (32-bit and 64-bit) (Requires xterm (standard terminal emulator) for deployment)
- RHEL 5.7 and 6.1 and higher (32-bit and 64-bit)
Note: All Linux OSs require Oracle JRE to install.
Use the snx -h command to make sure that the SSL Network Extender client is installed correctly.
Install Java Mac Catalina 10.15
Linux Supported Platforms
Click here to see the details of Linux Supported Platforms
Latest Linux Distribution | 32-bit Prerequisites | 64-bit Prerequisites | Installation command |
Ubuntu 14.04/16.04/16.10/17.04 | libpam0g:i386 libx11-6:i386 libstdc++6:i386 libstdc++5:i386 | libpam0g:i386 libx11-6:i386 libstdc++6:i386 libstdc++5:i386 libnss3-tools (certutil) | Apt-get |
openSUSE 11.4 | libstdc++33 |
| |
openSuSE 12.2 | compat-libstdc++ |
| |
Fedora 15 |
|
| |
Fedora 16/18 |
|
| dnf install <lib_name> |
RHEL 7.3 / 7.4 | None | Same as Fedora 16 64-bit | yum-config-manager --enable rhel-7-server-optional-rpms yum install |
RHEL 6.1 | Same as Fedora 16 32-bit | Same as Fedora 16 64-bit |
For Mobile Access Portal Agent prerequisites on Linux, refer to sk119772.
Documentation
Related Links
Install Java Mac Catalina
Related Solutions
Install Java 11 Mac Catalina
- This solution sk65210 replaces sk41569, sk32162.
