• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNI  RSS feed

CGI Tokyo
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry in advancem if this question appears too naive for some people.
Basically I am writing a Java Application which has to use a Shared Object on Sun Solaris. The Shared Object is written in C and I do not have the Source Code of it, but I have the API Usage of the Library.
Now to call the Shares Object I use the APIs provided. To do this I write a Wrapper C Function and call this C Wrapper Function from Java. This C Wrapper in turn calls the respective functions from the Shared Library.
Is it possible to compile this C Wrapper and the Shared Library into one new Shared Library, which I can load in my Java program? Or to do the above I need the Source Code of Shared Library (which is difficult to get).
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!