aspose 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 3056
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No output from the Java Class calling the Native method
 
Similar Threads
UnsatisfiedLinkError Exception with JNI
JNI Program RunTime Exceptions
Calling one Java Prog from another - Code
how to convert static String return into JNI
how to invoke a dll