Ask coding questions

← Back to all posts
How do you run multiple java files, with some in folders?
GeorgeLiu8

Help, I need this for a project and nothing is working. Replit wont run any of the files. I don't know why.

Voters
GeorgeLiu8
Comments
hotnewtop
CodeMaster007

Your run file is wrong. You have to set it up so it opens the main file or SpaceInvaders.java. I'm not sure what your main file is but if it is easier, I would remove your .replit file and put your main code in the Main.java category. It should work that way :)