---
title: "解决tomcat中not found on the java.library.path的一个小问题"
author: "xiaomanetjava"
date: "2010-11-05T22:10:26Z"
tags: []
categories: ["编程语言"]
slug: "tomcat-not-found-on-the-java-library-path"
draft: false
lastmod: "2010-11-05T22:10:26Z"
id: 804268
url: "https://xiaomanetjava.iteye.com/blog/804268"
---

The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\\Program Files\\Java\\jre1.6.0\_03\\bin;C:\\eclipse\\plugins\\com.genuitec.eclipse.easie.tomcat.myeclipse\_6.0.1.zmyeclipse601200710\\tomcat\\bin，这个问题怎么解决呢？

 

在启动Tomcat 6.0时发现第一条信息便是：  
The Apache Tomcat Native library which allows optimal performance in production environments was not found ……  
解决方法：  
相关文档：[http://tomcat.apache.org/tomcat-6.0-doc/apr.html](http://tomcat.apache.org/tomcat-6.0-doc/apr.html)  
去这里[http://tomcat.heanet.ie/native/](http://tomcat.heanet.ie/native/)下载最新版本的tcnative-1.dll放到Tomcat的安装目录\\Bin下  
之后重启Tomcat就OK了。  
比如现在我已下载了V1.1.14的tcnative-1.dll，启动时信息变成：

引用

信息: Loaded APR based Apache Tomcat Native library 1.1.14.

这个APR是什么作用呢？Tomcat 可以用 Apache Portable Runtime 来提供更强性能，提升Web静态页面的处理能力，不再需要专门的Web Server来处理静态页面了。&lt;!--RelatedTopic--&gt;