Github with repl.it

Hello-can anyone explain this in repl.it. I have connected a classroom with Github and cannot run therepo. I do not understand what the below statement means.
Thanks so much

‘run’ isn’t configured in the .replit file
try adding ‘run = “echo hello word”’ to .replit

When you set up an assignment to work with repl.it, GitHub Classroom will automatically create a .replit file when students create the assignment. While setting up the assignment, there’s a place to set what clicking the run button in repl.it will do, as well as what language it will be set to. This can also be done manually. Here’s an example of my .replit file:

language = “python3”
run = “python3 hello_world.py”

Hello-
Thanks for your reply but I am not sure of your response. The language is already set to java. Below is a shot of what I see. Zero clue as to what I would put. Does the picture help? Thanks

Create a file in your repo and call it “.replit”. In that file have 2 lines:

language = "java"
run = "javac YourFile.java; java YourFile"

where you replace YourFIle with the name of your java file you want to compile and run.

I know I am a pain but zero clue as to how these function together. If you could send an example repl.it It would be really helpful so I can see the file structure. Thai sis what I am getting now.
Thanks

Wow-thank you. Mine looks nothing like that even through I have connected GitHub. I am trying to run it solely from the browser. Thank you

I add two files in the root directory in order to open GitHub repos successfully in Repl.it. They are called .replit and main.sh and they look like this: .

.replit file

run = ‘sh main.sh’

main.sh file

cd ‘Concentration’/src //Concentration is folder name
*javac .java
java PlayGame //PlayGame is the Java class containing the main method

© 2017 GitHub, Inc.
with by
GitHub Education