Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5946941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:53:39+00:00 2026-05-22T16:53:39+00:00

I developed an GWT application which includes some native libraries with JNI. when I

  • 0

I developed an GWT application which includes some native libraries with JNI. when I test it from eclipse everything works fine, but when I try to deploy it on my Eclipse server it can’t find the native libraries.

I followed this tutorial for JNI and Tomcat

but it still can’t find them I noticed. That when I read the java.library.path from within my serversided application it is different from what I get when I start Tomcat (displaying the path variables with set path).

Any ideas what I am missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:53:39+00:00Added an answer on May 22, 2026 at 4:53 pm

    The simplest answer might be to edit your Tomcat installation’s bin/startup script to change the java.library.path to wherever you’re copying the native library to. Something like

    java -Djava.library.path=/path/to/my/libs existing args
    

    If you’re using a shared hosting provider, you’ll need to consult with the owner to determine if they’ll allow native libraries to be loaded into the container, and if there’s a specific location to which the libraries should be copied.

    Beyond that, there’s the meta problem of your development environment being different from your deployment environment. Ideally, you would have an exact copy (or as close as possible) of the deployment configuration running on your local development machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting an error in my GWT application being developed in Eclipse. It's
In my gwt application somebody developed a module which uses java.beans.PropertyChangeSupport. Recently I have
I have developed a simple GWT application with the client/server packages. From server package
I developed a web application (works properly) which registers a user to the system
I developed an application in a single Eclipse project using the Eclipse-GWT plugin. Now
I am new to GWT. I have developed a GWT application in version-1.6.4 and
I developed a Word 2003 report generation application that extracts data from a database.
I have developed a simple application in GWT. After that, I generate war file
I am currently developing Java/GWT-application which is hosted on a weblogic application server. I
I wonder how can I make a cross domain request from a gwt application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.