Jagex built RuneScape using Java. Over time, they developed their own scripting language called RuneScript to make releasing updates easier — though they're naturally limited to what RuneScript can do.