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
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Invoke Java from Perl
 
Similar Threads
Do I have to use JNI to invoke Korn shell or perl script from java ?
Is there any way where you can pass values from java to the perl program?
Is there any way where you can pass values from java to the perl program?
perl script sending signals to java
How can you pass the arguments from the java program to the perl program?