java support (partial)