Try to make aJoe work for bare jdk.