* restructure specs.
* add test env for openjdk.