java sun or openjdk
fixed condition variable