package org.hibernate does not exist

Hello All… am bit new to hibernate… getting this error in my code… tried spending some time on google, stack overflow but not of much help… can anyone help.

package org.hibernate does not exist

I downloaded – hibernate-core-5.3.1.Final.jar

and have put into C:\Program Files\Java\jdk-18.0.1.1\lib\required

Let’s continue the discussion on Zulip https://hibernate.zulipchat.com/#narrow/stream/132096-hibernate-user/topic/package.20org.2Ehibernate.20does.20not.20exist