Runtime.exec() call on Solaris/SPARC is slow on Java 6 compared to Java 5.
Do this in a loop
long begin = System.nanoTime();
final Process process = runtime.exec(cmdStr);
long diff = System.nanoTime() - begin;
and compare diff on both Java 5 and Java 6 JREs.
Wrt. the Runtime.exec() call, Java 6 is approx. 3-4 times slower on a SPARC system compared to Java 5 on a SPARC system. On x86-systems the Runtime.exec call from Java 6 is faster than on Java 5.
Testprogram and Testresults are attached to this report.