Java beginner here, need help please

I started Mosh beginner course and downloaded Java, jdk 12 and Intellij like he suggested.
When I start a new project, it doesn’t let me create project from template and put it in a package.
and when I try to run in terminal, I get this message -

Please help

It seems that your project is already in a package. Also, you don’t have to use JDK 12. I use JDK18 and JDK21 with the proper “language levels”. Your .out folder is the package where your class are stored. Try posting and image with error you receive when you run the code from IDE and not the terminal.

image