Moved java_throw to RuntimeState to reduce circular dependencies.
Forgot to remove a require statement.