ADD: support to openjdk7