Java Not compiling, can someone explain this error message?

So I am unsure on how I can use Java in replit. I am completely pre-course work for CS program.
I am following a video and the person has no issues compiling and running the program. When I try to do it I get this error:

Link: Imgur: The magic of the Internet

Can someone please help?

Link to project: https://replit.com/@cooperl136/cohort-3-prework-cooperl136?v=1

Program is in pre01

Hey @cooperl136, welcome to the community!

It looks like you are using a Blank Repl template. You have to use the Java Template and type your code in the Main.java file. Then you can click the big green Run button to see your output in the Console tab.

Hope this helps!

2 Likes