views:

111

answers:

3

How can I launch a Java test suite using Perl?

A: 

You can use system or exec to issue the relevant java ... command line, e.g.:

system('java ClassName some arguments here');
T.J. Crowder
+1  A: 

You can make use of system function.

system("java Sample");
codaddict
+1  A: 

I would use the JMX module if possible.

hpavc
not necessary perl in this case, but overall developers use perl to launch may java tests , the issue that I need to clarify is how to call all java tests to launch them using script perl or any other language
laura