0
how do i run my java file with cmd?
Need answer
4 Answers
+ 1
Tnx bro
+ 1
You're welcomeđ
+ 1
// First you need to compile
$javac File.java
// Then just execute it
$java File
// Don't forget the file name must be the same as the public class with the entry point (main)!