0

I have a java project in eclipse which are using tomcat. This project has some dependency over c library. When i start tomcat using startup.sh it is working fine but when i try to start tomcat from eclipse it gives me error while starting itself. Is there any way i can start tomcat from eclipse as if i start it from startup.sh, i not able to set any breakpoint.

dmay
  • 1,305
  • 6
  • 21
  • 31

1 Answers1

1

If any of your Java code is using a native (C) library, that library (.dll or .so file) must be included in the path specified by the Java system property java.library.path. There's a few ways to go about doing that, but this seems like the most logical: How to set the java.library.path from Eclipse

Community
  • 1
  • 1
E-Riz
  • 31,431
  • 9
  • 97
  • 134
  • my problem gets resolved after adding it as vm parameter. Some one has done the same thing in link provided by you. – dmay Aug 05 '11 at 15:04