in reply to Re^4: running jar file with multiple arguments in perl
in thread running jar file with multiple arguments in perl

This is not code that could ever run in Perl. It helps us to help you better if you show us the exact, minimal code you have that exhibits the problem. What you've shown so far cannot be that code because it does not run.

  • Comment on Re^5: running jar file with multiple arguments in perl

Replies are listed 'Best First'.
Re^6: running jar file with multiple arguments in perl
by Anonymous Monk on May 31, 2010 at 07:19 UTC
    Hi Corion, some guy here, check it out
    $ perl open PIPE, "| java -jar java_program.jar"; print PIPE "$string"; close(PIPE); ^Z Exception in thread "main" java.util.zip.ZipException: The system cann +ot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) $
    I am surprised I have java installed, not surprised I'm missing java_program.jar