[Tomcat Wiki] Update of "Building Tomcat on MacOS" by ChristopherSchultz

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Tomcat Wiki] Update of "Building Tomcat on MacOS" by ChristopherSchultz

Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "Building Tomcat on MacOS" page has been changed by ChristopherSchultz:
https://wiki.apache.org/tomcat/Building%20Tomcat%20on%20MacOS?action=diff&rev1=3&rev2=4

 
  == Running Tomcat with libtcnative ==
 
+ Tomcat (really Java) needs to know where to find these native libraries. We do that by setting the {{{java.library.path}}} environment variable for the JVM during startup. The easiest way to do this is by setting {{{CATALINA_OPTS}}} on startup. This can be done by adding this line to {{{bin/setenv.sh}}}:
+
+  {{{export CATALINA_OPTS="-Djava.library.path=$CATALINA_HOME/bin"}}}
+
+ Then you can startup Tomcat as usual, either:
+
+  {{{$ bin/startup.sh }}}
+
+ or
+
+  {{{$ bin/catalina.sh start }}}
+

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]