Re: [LIP] calling java routine from perl
Binand Sethumadhavan <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Rohan Almeida posted in linux-india-programmers: > > I have to call a java (which accepts two parameters > >from command line)utility from cgi. I am using perl to > >do it using following command > > > >system "/usr/java/j2sdk1.4.1_03/bin/java", > >"portm",$arg,$arg2; > > > > i.e. forget CGI for now, and check if the command-line > perl script can successfully execute your system call. > Beware of PATH nuances. ...and also CWD nuances (I think that is the problem here). Binand -- [[email protected] root]# uptime 11:55am up 58 days, 4:49, 2 users, load average: 1023.78, 419.92, 158.90 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click