• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi problem in .exe

 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, I have to call .exe file in java. and i have to run the .exe file by using java program in MAC os X , how could i run the .exe fine on MAC. please let us know immediately.
can i use jni. to call java file in mac.
cheers
nr konjeti
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like this
try
{
Process p = Runtime.getRuntime().exec("notepad");
}
catch(IOException ie)
{
ie.printStackTrace();
}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic