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

Dear mr King, how are you over there? After I see your good comments on codewithmosh I would like to request you to help me with coding. Am Trancy from Malawi, southern Africa and am really interested in programming but I don’t know where nd how to start. I want to start coding with Java but I got no knowledge about it sir.

I would like to hear from you, sir if my request will be considered.

Kindly regards

Trancy 4real g.

Hello,Do you have a background in any other language?