It's better to use barrel jack because there is a diode in path which protects against reverse polarity. Just for future...