Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

No output from the Java Class calling the Native method

 
Mohamed Sanaulla
Bartender
Posts: 3166
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!