Police, who identified the student as Steven J. Pudlewski, 23, said he was held for a psychiatric evaluation following arraignment before a town judge.
Baldy Hall was evacuated shortly after 8:30 a.m. following a telephone call from a man to the office of a professor.
Bomb experts from the Erie County Sheriff's Department were called to campus after the professor noted a duffel bag in his office that the caller said he had placed there. O'Brian Hall and Lockwood Memorial Library subsequently were evacuated.
Investigation of the duffel bag found that it contained items belonging to the student, including a lap-top computer.
Dennis R. Black, associate vice president for student affairs and dean of students, said the student was in the process of resigning from the university and had been expected to leave on Friday.
"Efforts previously have been made to provide him support, both on and off campus," Black added.