in reply to Re: Calling Java using system()
in thread Calling Java using system()
Thank you for your reply.
No the "java" command but the executable jar file resides in that folder.
I tried changing the directory as follows:
my $pwd = cwd(); my $newDIR ="/users/sophix/Desktop/prottest3/prottest3/"; chdir $newDIR or die "Hmm\n"; my $currdir = cwd();
Now, when I have java or java.exe, it complains: "Unrecognized option: -jar prottest-3.0.jar Could not create the Java virtual machine."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Calling Java using system()
by Gulliver (Monk) on Jun 25, 2011 at 13:52 UTC |