Install command:
brew install tomcat-native

Also known as: libtcnative

Lets Tomcat use some native resources for performance

License: Apache-2.0

Formula JSON API: /api/formula/tomcat-native.json

Formula code: tomcat-native.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
big sur
Intel sonoma
big sur
64-bit linux

Current versions:

stable 2.0.5

Depends on:

apr 1.7.4 Apache Portable Runtime library
openjdk 21 Development kit for the Java programming language
openssl@3 3.1.3 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

libtool 2.4.7 Generic library support script
In order for tomcat's APR lifecycle listener to find this library, you'll
need to add it to java.library.path. This can be done by adding this line

    CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=$HOMEBREW_PREFIX/opt/tomcat-native/lib"

If $CATALINA_HOME/bin/ doesn't exist, create it and make it executable.


Installs (30 days)
tomcat-native 164
Installs on Request (30 days)
tomcat-native 164
Build Errors (30 days)
tomcat-native 0
Installs (90 days)
tomcat-native 443
Installs on Request (90 days)
tomcat-native 443
Installs (365 days)
tomcat-native 1,019
Installs on Request (365 days)
tomcat-native 1,018
Fork me on GitHub