tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Tomcat Native install on Mac OS X 10.11
Date Fri, 12 Feb 2016 17:06:36 GMT
On 12/02/2016 16:14, Paquin, Brian wrote:
> On Feb 12, 2016, at 10:20 AM, Paquin, Brian <<>>
> I have used
 to setup Native with Tomcat successfully.
> Specifically, I create /usr/lib/java and then do:
> # Copy the native library to /usr/lib/java
> sudo cp .libs/libtcnative-1.0.dylib /usr/lib/java
> # Create a symbolic link in /usr/lib/java to the native library
> cd /usr/lib/java
> sudo ln -sfhv libtcnative-1.0.dylib libtcnative-1.dylib
> sudo ln -sfhv libtcnative-1.dylib libtcnative-1.jnilib
> This has worked up to 10.10, but NOT in 10.11 - Apple uses SIP to block changes to /usr/lib/
(and removes /usr/lib/java during an OS upgrade!).
> Is there a newer way (not modifying /usr/lib) that I can use to get Native to work with
> (I understand I can disable SIP with “csrutil”, but I would like to keep SIP enabled)
> Solved. Used /Library/Java/Extensions instead of /usr/lib/java.

You can install the library anywhere. You just need to tell Tp,cat where
it is. Personally I build in the the same location I store all the
various JARs I have downloaded. (~/libs)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message