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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
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
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

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