Modified to execute as openjdk7