Hi, I can’t interact with my console when working on a java project. I want to run a different file other than Main.java. How can I do this? Thank you
Replit Profile: https://replit.com/@elizvilllarreal
Hi, I can’t interact with my console when working on a java project. I want to run a different file other than Main.java. How can I do this? Thank you
Replit Profile: https://replit.com/@elizvilllarreal
Hi @elizvilllarreal , welcome to the forums!
You could use the Shell to run code for better use of prompts:
java File.java
This runs File.java
. You can change it to any filename.
Hope this helps!
I’m not sure if this works for programming languages like Java.