File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes No output from the Java Class calling the Native method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "No output from the Java Class calling the Native method" Watch "No output from the Java Class calling the Native method" New topic
Author

No output from the Java Class calling the Native method

Mohamed Sanaulla
Bartender

Joined: Sep 08, 2007
Posts: 2927
    
  15

Hi,

When ever i try to execute the Java Program which uses native methods the cursor keeps blinking in the command line and there's no output and finally i would have to use the Task manager to end the process. The below is the java class which i am using. I have also added the Native DLLs to the PATH environment variable. I have seen thru the books on JNI and have followed all the steps but i am stuck at this problem. Also the text "Hello World From java" is not printed. I think there's some problem with the loading of the DLL.



Regards,

Mohamed Sanaulla | My Blog
 
 
subject: No output from the Java Class calling the Native method
 
Similar Threads
how to convert static String return into JNI
JNI Program RunTime Exceptions
how to invoke a dll
Calling one Java Prog from another - Code
UnsatisfiedLinkError Exception with JNI