The moose likes Java in General and the fly likes hi problem in .exe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "hi problem in .exe" Watch "hi problem in .exe" New topic

hi problem in .exe

narasimharao konjeti
Ranch Hand

Joined: Apr 26, 2003
Posts: 130
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.
nr konjeti

"Unwise to sweat petty stuff, wise to pet sweaty stuff."
VIJAY Yadlapati
Ranch Hand

Joined: Aug 04, 2003
Posts: 175
Like this
Process p = Runtime.getRuntime().exec("notepad");
catch(IOException ie)
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: hi problem in .exe
It's not a secret anymore!