in reply to
Calling Java using system()
You are using wrong path seperator. Try replacing "/" with "\" and start your path with 'C:\'. And it will work. Better use catfile().
Comment on
Re: Calling Java using system()
Replies are listed 'Best First'.
Re^2: Calling Java using system()
by
Anonymous Monk
on Jan 16, 2016 at 14:40 UTC
I ran into this very old post when trying to do such thing also and this is the solution: my $response = system ("java -jar /<complete path to java script + parameters"); At least for people that find this post it will still help
[reply]
In Section
Seekers of Perl Wisdom