aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Invoke Java from Perl" Watch "Invoke Java from Perl" New topic
Author

Invoke Java from Perl

mike zhang
Ranch Hand

Joined: Feb 26, 2002
Posts: 59
Hello,
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 ?
Thanks,
Mike
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: http://aspose.com/file-tools
 
subject: Invoke Java from Perl