Running java codes that are NOT "Hello world"

I used to be able to run java code by typing “[codename].java”
However, I no longer see a space where I can do that. Clicking the run button simply has an outcome of “Hello World!”. How do I run my java codes now?

You could edit your .replit file to map to the file you want to run, but if you want to run more than 1, then using java [file].java in the Shell tab would be your best option.

2 Likes