Re: [LIP] calling java routine from perl

Rohan Almeida <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Organization Sify Ltd.
Message-ID <[email protected]>
vivek khurana wrote:
> Hi!
> 
>  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;
> 

Pehle aap ek java ko "system" call se,
command-line perl script mein execute karo.

i.e. forget CGI for now, and check if the command-line
perl script can successfully execute your system call.
Beware of PATH nuances.

--
Rohan




-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.