faqts : Computers : Programming : Languages : PHP

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

10 of 24 people (42%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Using the exec function, how can I call and start a java program. What is the command statment used?

Feb 28th, 2008 00:01
dman, Khurram Ijaz, Jason Goodman, http://www.ttnr.org


Same command will be used as if on the command line. Just remember the
current directory will be of the php file.
e.g. 
java -cp abc.jar Hello
Khurram Ijaz,
http://www.renai-soft.com