This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Launch external program using JNI  RSS feed

 
Paul Carbajal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I�ve tried to use Runtime.exec() to open a browser from my java app for Pocket PC, but i couldn�t make it because it�s not implemented for Windows CE...i read that it can be done with JNI, but i don�t have a clue of how to launch an exe with jni native using the Windows API.

Does anyone has an example??

Thanks a lot!!
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is no Runtime.exec, I'm guessing that we're talking J2ME, so I'm moving this thread to that forum. Not sure if J2ME has JNI, though.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!