title: Why am I getting "The type is deprecated" as an error in Selenium?
body: <p>I am using eclipse-jee-luna-SR1-win32-x86_64 for Selenium (the Selenium version is selenium-standalone-2.44.0 and selenium-java-2.44.0). I am getting the error <code>The type is deprecated</code>. I have JavaSE-1.8 installed on my system.</p>
  
  <pre class="lang-none prettyprint-override"><code>&gt; java -version
  java version "1.8.0_25"
  Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
  Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
  </code></pre>
  
  <p>This is the code I'm using:</p>
  
  <pre><code>import com.thoughtworks.selenium.DefaultSelenium; 
  import com.thoughtworks.selenium.Selenium;
  public class FirstTestCase {
      public static void main(String[] args) {
          System.out.println("Hello World");
          Selenium selenium = new DefaultSelenium("localhost", 5555, "chrome", "http://www.xxxxxxyxyxyx.com");
          }
  }
  </code></pre>