added seek() support to jvm input