I have written below program.
import java.util.Date;
import org.openqa.selenium.chrome.ChromeDriver;
public class Hello {
public static void main(String[] args) {
System.out.println("Hello!!! Srujana");
Date d = new Date();
System.out.println("Date is : " + " " + d);
new ChromeDriver();
}
}
It's throwing compilation error
Exception in thread "main" java.lang.Error: Unresolved compilation problem: ChromeDriver cannot be resolved to a type
Please let me know what am I missing?
Thank you.
The problem is solved after switching the JRE to 1.8.
Instructor
Ashish Thakur Replied on 23/07/2020
ok