faqts : Computers : Programming : Languages : PHP : kms : Functions

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 21 people (33%) answered Yes
Recently 5 of 10 people (50%) answered Yes


How do I use the exec function to call a java program? i.e. the class with the main method?

Jan 9th, 2006 00:40
Praveen Kumar Kukkapalli, Jason Goodman,

You just need to call it 
exec("/path/to/java Class_Name");