version common bug

Signed-off-by: Mattias Andrée <maandree@operamail.com>
issue 7, java version

Signed-off-by: Mattias Andrée <maandree@operamail.com>