aspose file tools*
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
Author

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.
cheers
nr konjeti


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

Joined: Aug 04, 2003
Posts: 175
Like this
try
{
Process p = Runtime.getRuntime().exec("notepad");
}
catch(IOException ie)
{
ie.printStackTrace();
}
 
Don't get me started about those stupid light bulbs.
 
subject: hi problem in .exe
 
Similar Threads
Calling .Net exe file from java
How to call EXE from JAVA
Running a .exe file from a .java file
Running a .exe from java program
.exe on mac problem using jni