I currently use Eclipse as my Java IDE and I use Maven. I click the run button and it is able to run a Selenium Java test I wrote.
I then proceeded to install Maven
I would recommend using Maven Failsafe (for integration tests), or Surefire (for unit tests).
org.apache.maven.plugins maven-failsafe-plugin 2.12 default integration-test verify