my dog learned polymorphism
The moose likes Java in General and the fly likes Invoke Java from Perl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Invoke Java from Perl" Watch "Invoke Java from Perl" New topic

Invoke Java from Perl

mike zhang
Ranch Hand

Joined: Feb 26, 2002
Posts: 59
I have a perl program, how do I invoke a java program from perl ? Any resource that I can find some example ? By the way, I need to pass some parameters when I invoke the java application, is it doable ?
Aleksey Matiychenko
Ranch Hand

Joined: Apr 03, 2001
Posts: 178
I don't think this is a java problem. In perl you use system command as in
system("java myprogram a b c"); where a b c are your parameters passed to java main method.
I agree. Here's the link:
subject: Invoke Java from Perl
It's not a secret anymore!