Skip to content
Sign upLog in

how to run java files.

Profile icon
strangeLanguage

Hello, I was wondering how I can run the main.java and any other .java file in replit. In python I am able to import the os and pass in the file on os.system() but I am unable to do it with Java and I noticed that new files are created that I have no idea what they are. I will be doing a java bootcamp course and I want to make sure I am able to run java code without problem.

You are viewing a single comment. View All
Answered by theangryepicbanana [earned 5 cycles]
View Answer
Profile icon
theangryepicbanana

@strangeLanguage
it's not exactly "hard", it just requires some setup. Once you learn why it works, you may like it a bit more. Also, many companies hire java devs, as it is the most widely used language next to C/C++ in application development