This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi mou haj: Maybe I can help you . you can build a dll file on windows. so the step on Solaris is very similar! Step 1: On Solaris, the following command builds a shared library example: libhello.so: cc -G -I/usr/local/java/include -I/usr/local/java/include/solaris \ HelloWorldImp.c -o libhello.so Step two: After you do that,you can invoke the native method in java. If you see an exception like the following, then you don't have your library path set up correctly. java.lang.UnsatisfiedLinkError: no hello in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at at java.lang.Thread.init(Thread.java) use the following to set your library path. % setenv LD_LIBRARY_PATH mylibrarypath where mylibrarypath is the name of the directory that contains libhello.so.
Hello,This is my question
Joined: Sep 12, 2001
Thanx a l-o-t dragon lui
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com