use Java 6 for exec