I do not recognize the java.sql.connection library in NetBeans java

I've established a connection between a database in sql server express 2014 and java netBeans 8.2 to create the interface. I managed to establish the connection, but when I wanted to use a java library, I did not recognize it. I wanted to use the class.forName command, which does not recognize me.