facebook

LD_LIBRARY_PATH setting to Tomcat5 thru ME [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #220151 Reply

    Hi

    I need to set an environment variable “LD_LIBRARY_PATH” to allow Tomcat5 to locate a native library that I’m calling from my webapp.

    I have this set in my environment, and when running Tomcat from a shell everything works fine, but when I run Tomcat from within MyEclipse, the native library cannot be found – as if the LD_LIBRARY_PATH was not being passed by My Eclipse to Tomcat.

    Is there a configurable setting within MyEclipse which will allow me to pass through this environment variable?

    Many Thanks,
    Mark

    #220175

    Riyad Kalla
    Member

    Mark,
    Navigate to your Window > Prefs > MyEclipse > App Servers > Tomcat 5 > Paths, preference page. Look in the last box “Append to Library Path”, add your native resource there.

    #220261

    Works now!!

    Many Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: LD_LIBRARY_PATH setting to Tomcat5 thru ME [Closed]

You must be logged in to post in the forum log in