Statements are not executed after getting Firefox driver
<p>Following is my code</p>

<pre><code>  public static void main(String[] args) {
        // TODO code application logic here
        System.out.println("hi");
             WebDriver driver;
        driver = new FirefoxDriver();
        driver.get("http://www.google.com");
        String actualTitle="";
actualTitle = driver.getTitle();
System.out.println("hi");
System.out.println("ActualTitle is :" + actualTitle );
     //driver.close();

}
</code></pre>

<p>I have created it in simple Java application (with Selenium). The problem is that statements after getting driver are not executed. It should print hi and actual title but nothing is getting printed. Any idea why?</p>

<p>And following are all the libraries that I have added:</p>

<p><a href="https://i.stack.imgur.com/CbxaQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CbxaQ.png" alt="enter image description here"></a></p>