added native support for Java for Timer