On Thu, 2006-15-06 at 05:01 +0000, may sandi wrote:
> Hi,
>
> Does anybody know how can run a perl file from java?
> I already tried with following command:
>
> try {
> Runtime r = Runtime.getRuntime();
> String cmdLine[] = { "/usr/bin/perl","c:/link41a/linkparser2.pl"};
Is PERL.EXE really in a directory /USR/BIN ? Normally, on MS DOS, the
path is: /PERL/BIN/PERL
> r.exec(cmdLine);
>
> But, I doesn't work.
> Currently I am using jdk 1.4.
>
>
> thanks in advance
>
BTW, change the Subject when you change the subject.
--
__END__
Just my 0.00000002 million dollars worth,
--- Shawn
"For the things we have to learn before we can do them, we learn by doing them."
Aristotle
* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>