Re: calling Jar file

2009-08-21 Thread Eric Veith
lemba wrote on 08/20/2009 01:08:32 AM: > Both approaches are not working as expected. They execute jar ok but > java is crasing somewhere and gives error. What error do you get? -- IBM Systems & Technology G

calling Jar file

2009-08-19 Thread lemba
Hi All, My perl script is wrapper for Java program. So, I'm calling the jar file in my script. my $compiler = "Compiler.jar" system ( "java -jar $compiler arg1 arg2 arg3" ) or in this way my @args = ( "java", "-jar", "$compiler", "arg1", "arg2", "arg3" ); system( @args ) Both approaches ar