0

how do i run my java file with cmd?

Need answer

9th Jul 2018, 6:33 AM
Nahom Anteneh
Nahom Anteneh - avatar
4 Answers
+ 1
Tnx bro
9th Jul 2018, 6:37 AM
Nahom Anteneh
Nahom Anteneh - avatar
+ 1
You're welcome👍
9th Jul 2018, 6:38 AM
Sad
Sad - avatar
+ 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)!
9th Jul 2018, 12:46 PM
Chriptus13
Chriptus13 - avatar