Javaised the tokenizer