File not running

i am trying to run my file, and it keeps routing me to the initial Main.java file. i have since deleted the Main.java file and am trying to write my own program. i am stuck and don’t know what to do, if this is me, or if this is an actual software problem?

thanks!

Hi @liamgreatman, welcome to the community!

So basically, Replit always runs the Main file by default. I recommend you only code in that file. But, if you would like to change it, simply change the entrypoint and/or run command in the .replit file.

Images (they are in Python but it will work in any language)

Dots

Show hidden files

edited

Also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

2 Likes