Don't ask to ask, just ask | |
PerlMonks |
Re: system call to a java programby lachoy (Parson) |
on Oct 22, 2002 at 11:56 UTC ( [id://207042]=note: print w/replies, xml ) | Need Help?? |
Actually if the file is called getseq.java, you need to compile it first. (Generally you do this with: javac getseq.javaalthough if it uses extra libraries you'll have to add those to the classpath: javac -classpath foo.jar getseq.jarThen, assuming that the java binary is in your PATH and the getseq.class file is in /path/to/getseq, you can run: system "java -classpath /path/to/getseq getseq dir1 dir2"But this is getting OT for Perlmonks :-) Chris
In Section
Seekers of Perl Wisdom
|
|