Running java codes that are NOT "Hello world"

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