Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No output from the Java Class calling the Native method

Mohamed Sanaulla
Saloon Keeper
Posts: 3159
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic